only damage the new regions

SVN revision: 18467
This commit is contained in:
Carsten Haitzler 2005-11-14 03:25:09 +00:00
parent 8c93ac2293
commit fd280ca81c
1 changed files with 10 additions and 2 deletions

View File

@ -38,6 +38,8 @@ ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h)
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.save_under = False;
attr.do_not_propagate_mask = NoEventMask;
attr.event_mask = KeyPressMask |
@ -65,7 +67,9 @@ ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h)
CWBackPixmap |
CWSaveUnder |
CWDontPropagate |
CWEventMask,
CWEventMask |
CWBitGravity |
CWWinGravity,
&attr);
if (parent == DefaultRootWindow(_ecore_x_disp)) ecore_x_window_defaults_set(win);
@ -95,6 +99,8 @@ ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h)
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.save_under = False;
attr.do_not_propagate_mask = NoEventMask;
attr.event_mask = KeyPressMask |
@ -122,7 +128,9 @@ ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h)
CWBackPixmap |
CWSaveUnder |
CWDontPropagate |
CWEventMask,
CWEventMask |
CWBitGravity |
CWWinGravity,
&attr);
if (parent == DefaultRootWindow(_ecore_x_disp)) ecore_x_window_defaults_set(win);