all repos — fluxbox @ 3ad611928a86db3fdb4a8818da1394aa53eaeac7

custom fork of the fluxbox windowmanager

Fix a small bug in BScreen constructor

it was testing for FbWindow.property() == Success, where it should've tested for == true.
Pavel Labath pavelo@centrum.sk
commit

3ad611928a86db3fdb4a8818da1394aa53eaeac7

parent

e4157821fc159371ff7bd8b6b1b0a889c81e72a2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -375,7 +375,7 @@ unsigned long ret_nitems, ret_bytes_after;

unsigned char *ret_prop; if (rootWindow().property(wm_check, 0l, 1l, False, XA_WINDOW, &xa_ret_type, &ret_format, &ret_nitems, - &ret_bytes_after, &ret_prop) == Success) { + &ret_bytes_after, &ret_prop) ) { m_restart = (ret_prop != NULL); XFree(ret_prop); }