Window comments cleanup
commitf846b7cdd39749b5291d4559185a229b752b4fed
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 10 Nov 2012 19:54:43 +0000 (10 20:54 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 11 Nov 2012 12:00:59 +0000 (11 12:00 +0000)
tree41a44f58cdbd69dc00336de2d353659e2911c9a7
parentcc1503a2f0bd9b60cede1330c6d48e984932b47d
Window comments cleanup

This patch only add some tabs the window.h (only window struct area).

The main change is that moves this block to switchpanel.c, because
is only used there:

       ((w)->wm_gnustep_attr->flags & GSWindowLevelAttr) && \
       ((w)->wm_gnustep_attr->window_level == WMMainMenuWindowLevel || \
        (w)->wm_gnustep_attr->window_level == WMSubmenuWindowLevel))

The patch also include two comments in the window's image:

- WIcon icon is only used when the window is minimized, else is NULL
- RImage has the window image, used in switchpanel,...
src/switchmenu.c
src/window.h