forked from enlightenment/efl
Don't send message to nonexisting windows.
SVN revision: 15173
This commit is contained in:
parent
1c29ff504b
commit
9ee64d258a
|
@ -1352,6 +1352,8 @@ ecore_x_netwm_sync_request_send(Ecore_X_Window win, unsigned int serial)
|
||||||
XSyncValue value;
|
XSyncValue value;
|
||||||
XEvent xev;
|
XEvent xev;
|
||||||
|
|
||||||
|
if (!win) return;
|
||||||
|
|
||||||
XSyncIntToValue(&value, serial);
|
XSyncIntToValue(&value, serial);
|
||||||
|
|
||||||
xev.xclient.type = ClientMessage;
|
xev.xclient.type = ClientMessage;
|
||||||
|
|
Loading…
Reference in New Issue