use the nwe theme's show_handle value

This commit is contained in:
Dana Jansens 2003-08-30 19:02:48 +00:00
parent f97e7133d4
commit 0185445e3a

View file

@ -1033,8 +1033,9 @@ void client_update_normal_hints(ObClient *self)
void client_setup_decor_and_functions(ObClient *self)
{
/* start with everything (cept fullscreen) */
self->decorations = (OB_FRAME_DECOR_TITLEBAR |
OB_FRAME_DECOR_HANDLE |
self->decorations =
(OB_FRAME_DECOR_TITLEBAR |
(ob_rr_theme->show_handle ? OB_FRAME_DECOR_HANDLE : 0) |
OB_FRAME_DECOR_GRIPS |
OB_FRAME_DECOR_BORDER |
OB_FRAME_DECOR_ICON |
@ -1042,7 +1043,8 @@ void client_setup_decor_and_functions(ObClient *self)
OB_FRAME_DECOR_ICONIFY |
OB_FRAME_DECOR_MAXIMIZE |
OB_FRAME_DECOR_SHADE);
self->functions = (OB_CLIENT_FUNC_RESIZE |
self->functions =
(OB_CLIENT_FUNC_RESIZE |
OB_CLIENT_FUNC_MOVE |
OB_CLIENT_FUNC_ICONIFY |
OB_CLIENT_FUNC_MAXIMIZE |