From 58cd3958a331e55699b3c1f640c0d2da907cdf22 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 4 Jan 2003 07:36:29 +0000 Subject: [PATCH] decor and functions set set right for !normal windows --- src/client.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.cc b/src/client.cc index 95d15095..ddc083fa 100644 --- a/src/client.cc +++ b/src/client.cc @@ -48,13 +48,13 @@ OBClient::OBClient(int screen, Window window) getType(); // set the decorations and functions + _decorations = Decor_Titlebar | Decor_Handle | Decor_Border | + Decor_Iconify | Decor_Maximize; + _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize; switch (_type) { case Type_Normal: // normal windows retain all of the possible decorations and // functionality - _decorations = Decor_Titlebar | Decor_Handle | Decor_Border | - Decor_Iconify | Decor_Maximize; - _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize; case Type_Dialog: // dialogs cannot be maximized -- 2.45.2