Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        tray.c window.c 


Log Message:
Patch from Hannes Janetzek to fix systray when composite is on. does not work 
for all apps not sure why

===================================================================
RCS file: /cvs/e/misc/engage/src/tray.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- tray.c      25 Oct 2005 00:54:54 -0000      1.18
+++ tray.c      12 Sep 2006 08:01:45 -0000      1.19
@@ -174,7 +174,11 @@
                                 selection_atom, od_window, 0, 0);
   }
 
-  tray_container = ecore_x_window_new(od_window, 0, options.height - 48, 96, 
+  if(options.use_composite)
+     tray_container = ecore_x_window_argb_new(od_window, 0, options.height - 
48, 96, 
+                                      48);
+  else
+     tray_container = ecore_x_window_new(od_window, 0, options.height - 48, 
96, 
                                       48);
   ecore_x_window_container_manage(tray_container);
 #if 1 /* Nono */
===================================================================
RCS file: /cvs/e/misc/engage/src/window.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- window.c    3 Sep 2006 15:14:51 -0000       1.35
+++ window.c    12 Sep 2006 08:01:45 -0000      1.36
@@ -60,7 +60,7 @@
    od_window_input_shape_rectangle_set(win, 
          (int)dock.left_pos, 
          options.height-options.size, 
-         (int)dock.right_pos - (int)dock.left_pos, 
+         ((int)dock.right_pos - (int)dock.left_pos) + tray_width, 
          options.size); 
          
   input_shape_full_area = 0;       
@@ -254,10 +254,9 @@
 
 #ifdef ShapeInput  
   if(options.use_composite)
-  {
+  { 
+       ecore_evas_override_set(ee, 1);
     ecore_evas_alpha_set(ee, 1);
-    Ecore_X_Window win = ecore_evas_software_x11_window_get(ee);
-    ecore_x_window_override_set(win,1); 
   }
   else
 #endif 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to