forked from enlightenment/efl
parent
8c93ac2293
commit
fd280ca81c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue