Don't send message to nonexisting windows.

SVN revision: 15173
This commit is contained in:
sebastid 2005-06-07 07:43:58 +00:00 committed by sebastid
parent 1c29ff504b
commit 9ee64d258a
1 changed files with 2 additions and 0 deletions

View File

@ -1352,6 +1352,8 @@ ecore_x_netwm_sync_request_send(Ecore_X_Window win, unsigned int serial)
XSyncValue value;
XEvent xev;
if (!win) return;
XSyncIntToValue(&value, serial);
xev.xclient.type = ClientMessage;