Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
Tag: branch-exp
gnome.c
Log Message:
Fix building with gnome hints.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/gnome.c,v
retrieving revision 1.39
retrieving revision 1.39.2.1
diff -u -3 -r1.39 -r1.39.2.1
--- gnome.c 4 Jun 2004 19:23:44 -0000 1.39
+++ gnome.c 16 Oct 2004 08:37:15 -0000 1.39.2.1
@@ -452,7 +452,7 @@
int val;
EDBUG(6, "GNOME_SetHint");
- if ((ewin->menu) || (ewin->pager))
+ if ((ewin->type == EWIN_TYPE_MENU) || (ewin->type == EWIN_TYPE_PAGER))
EDBUG_RETURN_;
if (!atom_set)
atom_set = XInternAtom(disp, XA_WIN_STATE, False);
@@ -475,7 +475,7 @@
CARD32 val[2];
EDBUG(6, "GNOME_SetEwinArea");
- if ((ewin->menu) || (ewin->pager))
+ if ((ewin->type == EWIN_TYPE_MENU) || (ewin->type == EWIN_TYPE_PAGER))
EDBUG_RETURN_;
if (!atom_set)
atom_set = XInternAtom(disp, XA_WIN_AREA, False);
@@ -493,7 +493,7 @@
int val;
EDBUG(6, "GNOME_SetEwinDesk");
- if ((ewin->menu) || (ewin->pager))
+ if ((ewin->type == EWIN_TYPE_MENU) || (ewin->type == EWIN_TYPE_PAGER))
EDBUG_RETURN_;
if (!atom_set)
atom_set = XInternAtom(disp, XA_WIN_WORKSPACE, False);
@@ -685,7 +685,8 @@
wl = Emalloc(sizeof(Window) * num);
for (i = 0; i < num; i++)
{
- if ((!lst[i]->menu) && (!lst[i]->pager) && (!lst[i]->skiptask)
+ if ((lst[i]->type != EWIN_TYPE_MENU) &&
+ (lst[i]->type != EWIN_TYPE_PAGER) && (!lst[i]->skiptask)
&& lst[i]->iconified != 4)
wl[j++] = lst[i]->client.win;
}
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs