X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FWindow.h;h=3c9fa86729b1136a83bf7db69eed65715b180cdc;hb=f00ed578baacb73a36227fed1419e9d451ee7bb0;hp=faaf9a0031e16e89849ed88abca2c016a4b16529;hpb=830e53f25cb8e48b50c8404b32e36708d335decc;p=chaz%2Fopenbox diff --git a/src/Window.h b/src/Window.h index faaf9a00..3c9fa867 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 }; @@ -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);