From: Mikael Magnusson Date: Wed, 2 Aug 2006 06:07:12 +0000 (+0000) Subject: remove bogus check for handle width in client_setup_decor_and_functions resulting... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d2fb93e8af7379431b6293361ca48b50275309f2;p=chaz%2Fopenbox 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. --- 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 |