aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-13 00:47:40 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-13 00:47:40 (GMT)
commitb302dab2f187e364df36237c44b8e48f1e892f04 (patch)
tree207955232ddf7aef1b4a13ccb5ae85a2404aa509 /src/FocusControl.hh
parentf66d446a94450d509748afe28a95f48b8fdfcfc5 (diff)
downloadfluxbox-b302dab2f187e364df36237c44b8e48f1e892f04.zip
fluxbox-b302dab2f187e364df36237c44b8e48f1e892f04.tar.bz2
fix some issues with reverting focus
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