Enlightenment CVS committal

Author  : kwo
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        tray.c 


Log Message:
Send client messages with correct mask. Now engage properly announces system 
tray selection ownership.
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/tray.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- tray.c      29 Nov 2004 22:16:12 -0000      1.12
+++ tray.c      29 Dec 2004 12:41:25 -0000      1.13
@@ -124,8 +124,8 @@
       
       /* Should proto be set according to clients _XEMBED_INFO? */
       ecore_x_client_message32_send(ev->data.l[2], ecore_x_atom_get("_XEMBED"),
-                                  CurrentTime, XEMBED_EMBEDDED_NOTIFY,
-                                  0, od_window, /*proto*/1);
+                                  ECORE_X_EVENT_MASK_NONE, CurrentTime,
+                                  XEMBED_EMBEDDED_NOTIFY, 0, od_window, 
/*proto*/1);
 
     } else if (ev->message_type == 
ecore_x_atom_get("_NET_SYSTEM_TRAY_MESSAGE_DATA")) {
       printf("got message\n");
@@ -170,8 +170,8 @@
     printf("am a system tray :) :)\n");
 
     ecore_x_client_message32_send(root, ecore_x_atom_get("MANAGER"),
-                                CurrentTime, selection_atom,
-                                od_window, 0, 0);
+                                ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, 
CurrentTime,
+                                selection_atom, od_window, 0, 0);
   }
 
   tray_container = ecore_x_window_new(od_window, 0, options.height - 48, 96, 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to