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;
|
break;
|
||||||
case ClientMessage:
|
case ClientMessage:
|
||||||
if ((Event.xclient.format != 32) ||
|
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;
|
break;
|
||||||
case DestroyNotify:
|
case DestroyNotify:
|
||||||
XFreeGC(dpy, NormalGC);
|
XFreeGC(dpy, NormalGC);
|
||||||
|
|
Loading…
Reference in a new issue