summaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r--src/FocusControl.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh
index 0baa401..4de4310 100644
--- a/src/FocusControl.hh
+++ b/src/FocusControl.hh
@@ -134,8 +134,10 @@ public:
134 static void unfocusWindow(WinClient &client, bool full_revert = true, bool unfocus_frame = false); 134 static void unfocusWindow(WinClient &client, bool full_revert = true, bool unfocus_frame = false);
135 static void setFocusedWindow(WinClient *focus_to); 135 static void setFocusedWindow(WinClient *focus_to);
136 static void setFocusedFbWindow(FluxboxWindow *focus_to) { s_focused_fbwindow = focus_to; } 136 static void setFocusedFbWindow(FluxboxWindow *focus_to) { s_focused_fbwindow = focus_to; }
137 static void setExpectingFocus(WinClient *client) { s_expecting_focus = client; }
137 static WinClient *focusedWindow() { return s_focused_window; } 138 static WinClient *focusedWindow() { return s_focused_window; }
138 static FluxboxWindow *focusedFbWindow() { return s_focused_fbwindow; } 139 static FluxboxWindow *focusedFbWindow() { return s_focused_fbwindow; }
140 static WinClient *expectingFocus() { return s_expecting_focus; }
139private: 141private:
140 142
141 BScreen &m_screen; 143 BScreen &m_screen;
@@ -158,6 +160,7 @@ private:
158 160
159 static WinClient *s_focused_window; 161 static WinClient *s_focused_window;
160 static FluxboxWindow *s_focused_fbwindow; 162 static FluxboxWindow *s_focused_fbwindow;
163 static WinClient *s_expecting_focus;
161 static bool s_reverting; 164 static bool s_reverting;
162}; 165};
163 166