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.

This commit is contained in:
Mikael Magnusson 2006-08-02 06:07:12 +00:00
parent 9384c87fbc
commit d2fb93e8af

View file

@ -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 |