X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=28ad85fa9894c723cc9da5d04237097cf12fbb85;hb=6c2931776f4575b126e4f587969759de0b2be170;hp=0ddc31adfa89bb211b4b7b046db90887b8bfe0a7;hpb=78bdc9baaa972d32fbcf344a51f29c9e3cb528b0;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index 0ddc31a..28ad85f 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -1032,7 +1032,7 @@ ewmh_get_win_state(struct ws_win *win) win->ewmh_flags |= SWM_F_MANUAL; c = xcb_get_property(conn, False, win->id, ewmh[_NET_WM_STATE].atom, - XCB_ATOM_ATOM, 0, (~0L)); + XCB_ATOM_ATOM, 0, UINT32_MAX); r = xcb_get_property_reply(conn, c, NULL); if (!r) return;