aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-02 18:13:19 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-09-14 17:39:10 (GMT)
commit3ad611928a86db3fdb4a8818da1394aa53eaeac7 (patch)
treeeed8888cf23768b4ba9c1468e8d49a29df4bf2b8 /src
parente4157821fc159371ff7bd8b6b1b0a889c81e72a2 (diff)
downloadfluxbox_paul-3ad611928a86db3fdb4a8818da1394aa53eaeac7.zip
fluxbox_paul-3ad611928a86db3fdb4a8818da1394aa53eaeac7.tar.bz2
Fix a small bug in BScreen constructor
it was testing for FbWindow.property() == Success, where it should've tested for == true.
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index bfb6221..bc87bc4 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -375,7 +375,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
375 unsigned char *ret_prop; 375 unsigned char *ret_prop;
376 if (rootWindow().property(wm_check, 0l, 1l, 376 if (rootWindow().property(wm_check, 0l, 1l,
377 False, XA_WINDOW, &xa_ret_type, &ret_format, &ret_nitems, 377 False, XA_WINDOW, &xa_ret_type, &ret_format, &ret_nitems,
378 &ret_bytes_after, &ret_prop) == Success) { 378 &ret_bytes_after, &ret_prop) ) {
379 m_restart = (ret_prop != NULL); 379 m_restart = (ret_prop != NULL);
380 XFree(ret_prop); 380 XFree(ret_prop);
381 } 381 }