X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWindow.h;h=b91a41fda08bde4d4647d84ec7ca638bb2db8db1;hb=e7c332a586280ac1ea9d0f993d637802d64c9f87;hp=faaf9a0031e16e89849ed88abca2c016a4b16529;hpb=830e53f25cb8e48b50c8404b32e36708d335decc;p=chaz%2Fopenbox diff --git a/src/Window.h b/src/Window.h index faaf9a00..b91a41fd 100644 --- a/src/Window.h +++ b/src/Window.h @@ -78,6 +78,7 @@ private: int window_number, workspace_number; unsigned long current_state; + bool place_window; // place the window ourselves when mapped enum FocusMode { F_NoInput = 0, F_Passive, F_LocallyActive, F_GloballyActive }; @@ -219,7 +220,7 @@ protected: void associateClientWindow(); void decorate(); void decorateLabel(); - void positionButtons(Bool redecorate_label = False); + void positionButtons(); void positionWindows(); void createCloseButton(); void createIconifyButton(); @@ -315,12 +316,12 @@ public: inline void setWindowNumber(int n) { window_number = n; } - Bool validateClient(); - Bool setInputFocus(); + bool validateClient(); + bool setInputFocus(); void setFocusFlag(Bool); void iconify(); - void deiconify(Bool reassoc = True, Bool raise = True); + void deiconify(bool reassoc = true, bool raise = true, bool initial = false); void close(); void withdraw(); void maximize(unsigned int button);