aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-18 19:58:06 (GMT)
committerfluxgen <fluxgen>2002-03-18 19:58:06 (GMT)
commit3a23ff8bdce8b53e3b87eb74f894dacb5ca7cbc8 (patch)
treee72dc51cb4fe1ca076fe59c58717b278768e4bba /src/Window.hh
parent981dd0dacfcea16c7c262e174275b96fea9654eb (diff)
downloadfluxbox-3a23ff8bdce8b53e3b87eb74f894dacb5ca7cbc8.zip
fluxbox-3a23ff8bdce8b53e3b87eb74f894dacb5ca7cbc8.tar.bz2
added isLowerTab() and lastFocusTime
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh
index c65fa2f..cdab73c 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.11 2002/02/26 22:35:58 fluxgen Exp $ 25// $Id: Window.hh,v 1.12 2002/03/18 19:58:06 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -168,6 +168,8 @@ public:
168 168
169 inline void setWindowNumber(int n) { window_number = n; } 169 inline void setWindowNumber(int n) { window_number = n; }
170 170
171 inline const timeval& getLastFocusTime() const {return lastFocusTime;}
172
171 bool validateClient(void); 173 bool validateClient(void);
172 bool setInputFocus(void); 174 bool setInputFocus(void);
173 void setTab(bool flag); 175 void setTab(bool flag);
@@ -187,6 +189,7 @@ public:
187 void setWorkspace(int n); 189 void setWorkspace(int n);
188 void changeBlackboxHints(BaseDisplay::BlackboxHints *); 190 void changeBlackboxHints(BaseDisplay::BlackboxHints *);
189 void restoreAttributes(void); 191 void restoreAttributes(void);
192 bool isLowerTab(void) const;
190 193
191 void buttonPressEvent(XButtonEvent *); 194 void buttonPressEvent(XButtonEvent *);
192 void buttonReleaseEvent(XButtonEvent *); 195 void buttonReleaseEvent(XButtonEvent *);
@@ -227,6 +230,8 @@ private:
227 Time lastButtonPressTime; 230 Time lastButtonPressTime;
228 Windowmenu *windowmenu; 231 Windowmenu *windowmenu;
229 232
233 timeval lastFocusTime;
234
230 int focus_mode, window_number, workspace_number; 235 int focus_mode, window_number, workspace_number;
231 unsigned long current_state; 236 unsigned long current_state;
232 WinLayer m_layer; 237 WinLayer m_layer;