Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c e_border.h 


Log Message:


and detect the evilness - but still not doign the right thing (tm) yet.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.482
retrieving revision 1.483
diff -u -3 -r1.482 -r1.483
--- e_border.c  8 Mar 2006 08:54:43 -0000       1.482
+++ e_border.c  8 Mar 2006 10:04:51 -0000       1.483
@@ -212,7 +212,12 @@
 
    bd->w = 1;
    bd->h = 1;
-   bd->win = ecore_x_window_override_new(con->win, 0, 0, bd->w, bd->h);
+   /* FIXME: ewww - round trip */
+   bd->client.argb = ecore_x_window_argb_get(win);
+   if (bd->client.argb)
+     bd->win = ecore_x_window_manager_argb_new(con->win, 0, 0, bd->w, bd->h);
+   else
+     bd->win = ecore_x_window_override_new(con->win, 0, 0, bd->w, bd->h);
    ecore_x_window_shape_events_select(bd->win, 1);
    e_bindings_mouse_grab(E_BINDING_CONTEXT_BORDER, bd->win);
    e_bindings_wheel_grab(E_BINDING_CONTEXT_BORDER, bd->win);
@@ -226,7 +231,10 @@
    ecore_x_window_shape_events_select(bd->bg_win, 1);
    ecore_evas_name_class_set(bd->bg_ecore_evas, "E", "Frame_Window");
    ecore_evas_title_set(bd->bg_ecore_evas, "Enlightenment Frame");
-   bd->client.shell_win = ecore_x_window_override_new(bd->win, 0, 0, 1, 1);
+   if (bd->client.argb)
+     bd->client.shell_win = ecore_x_window_manager_argb_new(bd->win, 0, 0, 1, 
1);
+   else
+     bd->client.shell_win = ecore_x_window_override_new(bd->win, 0, 0, 1, 1);
    ecore_x_window_container_manage(bd->client.shell_win);
    if (!internal) ecore_x_window_client_manage(win);
    /* FIXME: Round trip. XCB */
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.h,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -3 -r1.131 -r1.132
--- e_border.h  8 Mar 2006 08:54:43 -0000       1.131
+++ e_border.h  8 Mar 2006 10:04:51 -0000       1.132
@@ -143,6 +143,7 @@
       } border;
       
       unsigned char shaped : 1;
+      unsigned char argb : 1;
       
       struct {
         char *title;




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to