summaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-09 23:55:18 +0000
committerDana Jansens <danakj@orodu.net>2002-08-09 23:55:18 +0000
commit36db2d24ef4e14cb7f5fa82cba873beceae5c01e (patch)
tree4f13ecda1e6921a0571b79bf2c40b22e0f4c7a21 /src/Window.hh
parent5b088be950ce6e6a496b573e81dabeb54bd740ef (diff)
set a window's decorations based on mwm and window type. Ignore the different blackbox 'levels' since they arent ever used anyways. This makes toggling a window's decor always work right too!
Also, make XGrabServer calls while workspace warping ot make sure another window isnt grabbed in place of the one thats warping
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 8143ade1..17157ffc 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -193,6 +193,7 @@ private:
* the menu is not really decor, but it goes hand in hand with the decor
*/
DecorationFlags decorations;
+ DecorationFlags mwm_decorations;
Corner resize_dir;
WindowType window_type;
@@ -256,7 +257,7 @@ private:
Window createToplevelWindow();
Window createChildWindow(Window parent, Cursor = None);
- void getWindowType(void);
+ bool getWindowType(void);
void updateStrut(void);
void getWMName(void);
void getWMIconName(void);
@@ -378,6 +379,7 @@ public:
void beginMove(int x_root, int y_root);
void beginResize(int x_root, int y_root, Corner dir);
+ void enableDecor(bool enable);
void setFocusFlag(bool focus);
void iconify(void);
void deiconify(bool reassoc = True, bool raise = True);