wmload: Cast data from client message event to Atom for comparison.
Fixes -Wsign-compare compiler warning.
This commit is contained in:
parent
04a36b3ae4
commit
8f06836b0f
|
@ -325,7 +325,7 @@ int main(int argc,char *argv[])
|
|||
break;
|
||||
case ClientMessage:
|
||||
if ((Event.xclient.format != 32) ||
|
||||
(Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW))
|
||||
((Atom)Event.xclient.data.l[0] != _XA_WM_DELETE_WINDOW))
|
||||
break;
|
||||
case DestroyNotify:
|
||||
XFreeGC(dpy, NormalGC);
|
||||
|
|
Loading…
Reference in a new issue