Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
wm.c
Log Message:
work in 0.16.7-pre series, engage didn't trap iconifying or showing properly, kwo can
you look over this?
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/wm.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- wm.c 6 May 2004 18:06:25 -0000 1.13
+++ wm.c 14 May 2004 12:46:32 -0000 1.14
@@ -237,9 +237,9 @@
{
Ecore_X_Event_Window_Property *ev = event;
- if (ev->atom != ecore_x_atom_get("_NET_CLIENT_LIST"))
- return 1;
- od_sync_clients(NULL);
+ if ((ev->atom == ecore_x_atom_get("_NET_CLIENT_LIST")) ||
+ (ev->atom == ecore_x_atom_get("_NET_WM_STATE")))
+ od_sync_clients(NULL);
return 1; // carry on
}
@@ -248,7 +248,7 @@
{
od_sync_clients(NULL);
ecore_x_event_mask_set(DefaultRootWindow(ecore_x_display_get()),
- PropertyChangeMask);
+ ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
ecore_event_handler_add(ECORE_X_EVENT_WINDOW_PROPERTY, window_prop_change_cb,
NULL);
}
@@ -354,6 +354,7 @@
if (fresh->data) {
owd = fresh->data;
title = od_wm_get_title(owd->id);
+ ecore_x_event_mask_set(owd->id, ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
winclass = od_wm_get_winclass(owd->id);
item = dock.applnks;
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs