From: <enl...@li...> - 2006-03-08 08:54:44
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore Dir : e17/libs/ecore/src/lib/ecore_x Modified Files: ecore_x.c ecore_x_window.c Log Message: and work again. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v retrieving revision 1.107 retrieving revision 1.108 diff -u -3 -r1.107 -r1.108 --- ecore_x.c 4 Mar 2006 02:57:06 -0000 1.107 +++ ecore_x.c 8 Mar 2006 08:54:36 -0000 1.108 @@ -988,7 +988,7 @@ { XSelectInput(_ecore_x_disp, win, PropertyChangeMask | - ResizeRedirectMask | +// ResizeRedirectMask | FocusChangeMask | ColormapChangeMask | VisibilityChangeMask | =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window.c,v retrieving revision 1.48 retrieving revision 1.49 diff -u -3 -r1.48 -r1.49 --- ecore_x_window.c 8 Mar 2006 08:02:55 -0000 1.48 +++ ecore_x_window.c 8 Mar 2006 08:54:36 -0000 1.49 @@ -35,7 +35,6 @@ if (parent == 0) parent = DefaultRootWindow(_ecore_x_disp); attr.backing_store = NotUseful; attr.override_redirect = False; - attr.colormap = DefaultColormap(_ecore_x_disp, DefaultScreen(_ecore_x_disp)); attr.border_pixel = 0; attr.background_pixmap = None; attr.bit_gravity = NorthWestGravity; @@ -96,11 +95,10 @@ if (parent == 0) parent = DefaultRootWindow(_ecore_x_disp); attr.backing_store = NotUseful; attr.override_redirect = True; - attr.colormap = DefaultColormap(_ecore_x_disp, DefaultScreen(_ecore_x_disp)); attr.border_pixel = 0; attr.background_pixmap = None; - attr.bit_gravity = NorthWestGravity; - attr.win_gravity = NorthWestGravity; + attr.bit_gravity = NorthWestGravity; + attr.win_gravity = NorthWestGravity; attr.save_under = False; attr.do_not_propagate_mask = NoEventMask; attr.event_mask = KeyPressMask | @@ -132,8 +130,6 @@ CWBitGravity | CWWinGravity, &attr); - - if (parent == DefaultRootWindow(_ecore_x_disp)) ecore_x_window_defaults_set(win); return win; } |