aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-07-12 00:08:57 (GMT)
committermarkt <markt>2006-07-12 00:08:57 (GMT)
commitc929da4054f9fa7458bce2f4b46787e5484af850 (patch)
tree8987dbe8d8de8be57551d811f836843937487261 /src/WorkspaceCmd.cc
parente1fdf51f4e7bf0d645c55b761ad5d997698b4818 (diff)
downloadfluxbox-c929da4054f9fa7458bce2f4b46787e5484af850.zip
fluxbox-c929da4054f9fa7458bce2f4b46787e5484af850.tar.bz2
replacing some instances of focusedWindow()->fbwindow() with focusedFbWindow()
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index c3dd402..5b5b607 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -91,11 +91,9 @@ void DirFocusCmd::execute() {
91 if (screen == 0) 91 if (screen == 0)
92 return; 92 return;
93 93
94 WinClient *client = FocusControl::focusedWindow(); 94 FluxboxWindow *win = FocusControl::focusedFbWindow();
95 if (client == 0 || client->fbwindow() == 0) 95 if (win)
96 return; 96 screen->focusControl().dirFocus(*win, m_dir);
97
98 screen->focusControl().dirFocus(*client->fbwindow(), m_dir);
99} 97}
100 98
101void NextWorkspaceCmd::execute() { 99void NextWorkspaceCmd::execute() {