summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-04 07:36:29 +0000
committerDana Jansens <danakj@orodu.net>2003-01-04 07:36:29 +0000
commit58cd3958a331e55699b3c1f640c0d2da907cdf22 (patch)
tree6ec7093e50aaef9cdf8bfd6e7a13e65bd2167afc
parentb02c91caad1ef6ddaebe8d58a410a089d47f1f59 (diff)
decor and functions set set right for !normal windows
-rw-r--r--src/client.cc6
1 files 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