and work again.
authorCarsten Haitzler <raster@rasterman.com>
Wed, 8 Mar 2006 08:54:36 +0000 (08:54 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 8 Mar 2006 08:54:36 +0000 (08:54 +0000)
SVN revision: 21092

legacy/ecore/src/lib/ecore_x/ecore_x.c
legacy/ecore/src/lib/ecore_x/ecore_x_window.c

index 897ba6c198b5d562a7edea0ff0090da81ade6d17..06c17d0d749d8b2ac0e8c005b258241fe69ded22 100644 (file)
@@ -988,7 +988,7 @@ ecore_x_window_client_manage(Ecore_X_Window win)
 {
    XSelectInput(_ecore_x_disp, win, 
                PropertyChangeMask | 
-               ResizeRedirectMask |
+//             ResizeRedirectMask |
                FocusChangeMask |
                ColormapChangeMask |
                VisibilityChangeMask |
index f0b315d05db2c4fd84ab8b86fc655d74c5cd6ba4..30aea0799deccdfa0f8a30b56e3ecd5a727c5f67 100644 (file)
@@ -35,7 +35,6 @@ ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h)
    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 @@ ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h)
    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 @@ ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h)
                       CWBitGravity |
                       CWWinGravity,
                       &attr);
-
-   if (parent == DefaultRootWindow(_ecore_x_disp)) ecore_x_window_defaults_set(win);
    return win;
 }