aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2009-05-26 20:45:05 (GMT)
committerJim Ramsay <i.am@jimramsay.com>2009-05-26 20:45:05 (GMT)
commit54b49c63a641fb742f014403c924ae8f81f73824 (patch)
treec2b8511c911d0375715f7f0cd2f8d1999790923a /src/FocusControl.hh
parent04538cbaa1f74b3b7dd397fa515617d8691980d4 (diff)
parentc1dee4a4055f8f0dafadeca508ff5568e2d0ce08 (diff)
downloadfluxbox-54b49c63a641fb742f014403c924ae8f81f73824.zip
fluxbox-54b49c63a641fb742f014403c924ae8f81f73824.tar.bz2
Merge branch 'mousefocus'
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r--src/FocusControl.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh
index 4de4310..91681ab 100644
--- a/src/FocusControl.hh
+++ b/src/FocusControl.hh
@@ -93,6 +93,15 @@ public:
93 bool isMouseFocus() const { return focusModel() == MOUSEFOCUS; } 93 bool isMouseFocus() const { return focusModel() == MOUSEFOCUS; }
94 /// @return true if tab focus mode is mouse tab focus 94 /// @return true if tab focus mode is mouse tab focus
95 bool isMouseTabFocus() const { return tabFocusModel() == MOUSETABFOCUS; } 95 bool isMouseTabFocus() const { return tabFocusModel() == MOUSETABFOCUS; }
96
97 /// Set the "ignore" pointer location to the current pointer location
98 void ignoreAtPointer();
99 /// Set the "ignore" pointer location to the given coordinates
100 void ignoreAt(int x, int y);
101 /// @return true if events at the given X/Y coordinate should be ignored
102 /// (ie, they were previously cached via one of the ignoreAt calls)
103 bool isIgnored(int x, int y);
104
96 /// @return true if cycling is in progress 105 /// @return true if cycling is in progress
97 bool isCycling() const { return m_cycling_list != 0; } 106 bool isCycling() const { return m_cycling_list != 0; }
98 /// Appends a client to the front of the focus list 107 /// Appends a client to the front of the focus list
@@ -157,6 +166,7 @@ private:
157 const FocusableList *m_cycling_list; 166 const FocusableList *m_cycling_list;
158 Focusable *m_was_iconic; 167 Focusable *m_was_iconic;
159 WinClient *m_cycling_last; 168 WinClient *m_cycling_last;
169 int m_ignore_mouse_x, m_ignore_mouse_y;
160 170
161 static WinClient *s_focused_window; 171 static WinClient *s_focused_window;
162 static FluxboxWindow *s_focused_fbwindow; 172 static FluxboxWindow *s_focused_fbwindow;