]> Dogcows Code - chaz/openbox/blobdiff - src/Window.h
new focus code! working better than ever!
[chaz/openbox] / src / Window.h
index faaf9a0031e16e89849ed88abca2c016a4b16529..3c9fa86729b1136a83bf7db69eed65715b180cdc 100644 (file)
@@ -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);
This page took 0.019681 seconds and 4 git commands to generate.