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;
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 |
CWBitGravity |
CWWinGravity,
&attr);
-
- if (parent == DefaultRootWindow(_ecore_x_disp)) ecore_x_window_defaults_set(win);
return win;
}