forked from enlightenment/efl
If the window hasn't any sizehint, reset the struct.
SVN revision: 15271
This commit is contained in:
parent
0d0d458f76
commit
7523c7699b
|
@ -291,7 +291,10 @@ ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win,
|
|||
XSizeHints hint;
|
||||
long mask;
|
||||
|
||||
XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask);
|
||||
if (!XGetWMNormalHints(_ecore_x_disp, win, &hint, &mask))
|
||||
{
|
||||
memset(&hint, 0, sizeof(XSizeHints));
|
||||
}
|
||||
|
||||
hint.flags = 0;
|
||||
if (request_pos)
|
||||
|
|
Loading…
Reference in New Issue