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:
parent
9384c87fbc
commit
d2fb93e8af
1 changed files with 1 additions and 1 deletions
|
@ -1244,7 +1244,7 @@ void client_setup_decor_and_functions(ObClient *self)
|
||||||
/* start with everything (cept fullscreen) */
|
/* start with everything (cept fullscreen) */
|
||||||
self->decorations =
|
self->decorations =
|
||||||
(OB_FRAME_DECOR_TITLEBAR |
|
(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_GRIPS |
|
||||||
OB_FRAME_DECOR_BORDER |
|
OB_FRAME_DECOR_BORDER |
|
||||||
OB_FRAME_DECOR_ICON |
|
OB_FRAME_DECOR_ICON |
|
||||||
|
|
Loading…
Reference in a new issue