From: Dana Jansens Date: Sat, 4 Jan 2003 07:36:29 +0000 (+0000) Subject: decor and functions set set right for !normal windows X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=58cd3958a331e55699b3c1f640c0d2da907cdf22;p=chaz%2Fopenbox decor and functions set set right for !normal windows --- 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