From d2fb93e8af7379431b6293361ca48b50275309f2 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 2 Aug 2006 06:07:12 +0000 Subject: [PATCH] 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. --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 | -- 2.39.2