summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-02 06:07:12 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-02 06:07:12 +0000
commitd2fb93e8af7379431b6293361ca48b50275309f2 (patch)
tree02798ae264743fd1f90fdeb934fe0757f70c10dc
parent9384c87fbc71c372a98061d611dc7e17cf18e359 (diff)
remove bogus check for handle width in client_setup_decor_and_functions resulting in handles not being drawn if a theme with handle width = 0 is used when that function is called for a window and a theme with handle with > 0 is then loaded.
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 72699711..aa7812e6 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1244,7 +1244,7 @@ void client_setup_decor_and_functions(ObClient *self)
/* start with everything (cept fullscreen) */
self->decorations =
(OB_FRAME_DECOR_TITLEBAR |
- (ob_rr_theme->show_handle ? OB_FRAME_DECOR_HANDLE : 0) |
+ OB_FRAME_DECOR_HANDLE |
OB_FRAME_DECOR_GRIPS |
OB_FRAME_DECOR_BORDER |
OB_FRAME_DECOR_ICON |