aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r--src/FocusControl.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh
index 72eec11..c265253 100644
--- a/src/FocusControl.hh
+++ b/src/FocusControl.hh
@@ -96,9 +96,15 @@ public:
96 bool isMouseTabFocus() const { return tabFocusModel() == MOUSETABFOCUS; } 96 bool isMouseTabFocus() const { return tabFocusModel() == MOUSETABFOCUS; }
97 97
98 /// Set the "ignore" pointer location to the current pointer location 98 /// Set the "ignore" pointer location to the current pointer location
99 void ignoreAtPointer(); 99 /// @param force If true, ignore even in StrictMouseFocus mode
100 void ignoreAtPointer(bool force = false);
100 /// Set the "ignore" pointer location to the given coordinates 101 /// Set the "ignore" pointer location to the given coordinates
101 void ignoreAt(int x, int y); 102 /// @param x Current X position of the pointer
103 /// @param y Current Y position of the pointer
104 /// @param force If true, ignore even in StrictMouseFocus mode
105 void ignoreAt(int x, int y, bool force = false);
106 /// unset the "ignore" pointer location
107 void ignoreCancel();
102 /// @return true if events at the given X/Y coordinate should be ignored 108 /// @return true if events at the given X/Y coordinate should be ignored
103 /// (ie, they were previously cached via one of the ignoreAt calls) 109 /// (ie, they were previously cached via one of the ignoreAt calls)
104 bool isIgnored(int x, int y); 110 bool isIgnored(int x, int y);