diff options
author | markt <markt> | 2006-07-01 02:56:46 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-01 02:56:46 (GMT) |
commit | 698539d9b9012bb6c282725e775e358c1bd4a281 (patch) | |
tree | 2e4fae2776b7384058addbcfdbf2cc22605a3885 /src/FocusControl.cc | |
parent | a14c322dcbbc7330b6933230168d34411f7ac63b (diff) | |
download | fluxbox_pavel-698539d9b9012bb6c282725e775e358c1bd4a281.zip fluxbox_pavel-698539d9b9012bb6c282725e775e358c1bd4a281.tar.bz2 |
more dead functions
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r-- | src/FocusControl.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 664d41d..f0d1387 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -223,24 +223,6 @@ WinClient *FocusControl::lastFocusedWindow(FluxboxWindow &group, WinClient *igno | |||
223 | return 0; | 223 | return 0; |
224 | } | 224 | } |
225 | 225 | ||
226 | void FocusControl::raiseFocus() { | ||
227 | bool have_focused = false; | ||
228 | |||
229 | // set have_focused if the currently focused window | ||
230 | // is on this screen | ||
231 | if (focusedWindow()) { | ||
232 | if (focusedWindow()->screen().screenNumber() == m_screen.screenNumber()) { | ||
233 | have_focused = true; | ||
234 | } | ||
235 | } | ||
236 | |||
237 | // if we have a focused window on this screen and | ||
238 | // number of windows is greater than one raise the focused window | ||
239 | if (m_screen.currentWorkspace()->numberOfWindows() > 1 && have_focused) | ||
240 | focusedWindow()->raise(); | ||
241 | |||
242 | } | ||
243 | |||
244 | void FocusControl::setScreenFocusedWindow(WinClient &win_client) { | 226 | void FocusControl::setScreenFocusedWindow(WinClient &win_client) { |
245 | 227 | ||
246 | // raise newly focused window to the top of the focused list | 228 | // raise newly focused window to the top of the focused list |