Enlightenment CVS committal
Author : handyande
Project : misc
Module : engage
Dir : misc/engage/src
Modified Files:
wm.c tray.c
Log Message:
Got a little more tray code - hooking up iconlist and removal next
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/wm.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- wm.c 30 Jun 2004 09:49:58 -0000 1.16
+++ wm.c 17 Sep 2004 23:41:35 -0000 1.17
@@ -248,7 +248,8 @@
{
od_sync_clients(NULL);
ecore_x_event_mask_set(DefaultRootWindow(ecore_x_display_get()),
- ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
+ ECORE_X_EVENT_MASK_WINDOW_PROPERTY |
+ ECORE_X_EVENT_MASK_WINDOW_MANAGE);
ecore_event_handler_add(ECORE_X_EVENT_WINDOW_PROPERTY, window_prop_change_cb,
NULL);
}
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/tray.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- tray.c 16 Sep 2004 18:46:42 -0000 1.2
+++ tray.c 17 Sep 2004 23:41:36 -0000 1.3
@@ -11,6 +11,8 @@
#define XEMBED_EMBEDDED_NOTIFY 0
+int tray_count = 0;
+
/*
* This or something similar should probably go into ecore_x
*/
@@ -65,6 +67,8 @@
od_icon_grab(new, ev->data.l[2]);
od_dock_add_sysicon(new);
#endif
+XReparentWindow (display, ev->data.l[2], od_window, 24 * tray_count++, 0);
+
/* Map the window (will go top-level until reparented) */
ecore_x_window_show(ev->data.l[2]);
@@ -78,8 +82,9 @@
} else if (type == ECORE_X_EVENT_WINDOW_DESTROY ||
type == ECORE_X_EVENT_WINDOW_HIDE) {
/* FIXME - WHY are we never called???? */
- printf("need to remove");
+ printf("need to remove\n");
}
+
return 1;
}
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs