diff options
author | markt <markt> | 2007-03-30 20:29:46 (GMT) |
---|---|---|
committer | markt <markt> | 2007-03-30 20:29:46 (GMT) |
commit | 3ab6b48974c32c742bda5dc6c3f217f9d58e3d99 (patch) | |
tree | 7a9852f2513e4677e636cd6261c87ba3002b3ab4 /src/WorkspaceCmd.cc | |
parent | aef362350332d80febe1a4b72ee9b4b962ed527b (diff) | |
download | fluxbox-3ab6b48974c32c742bda5dc6c3f217f9d58e3d99.zip fluxbox-3ab6b48974c32c742bda5dc6c3f217f9d58e3d99.tar.bz2 |
pattern matching for window cycling
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r-- | src/WorkspaceCmd.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc index 93ea830..2d0f501 100644 --- a/src/WorkspaceCmd.cc +++ b/src/WorkspaceCmd.cc | |||
@@ -44,13 +44,13 @@ | |||
44 | void NextWindowCmd::execute() { | 44 | void NextWindowCmd::execute() { |
45 | BScreen *screen = Fluxbox::instance()->keyScreen(); | 45 | BScreen *screen = Fluxbox::instance()->keyScreen(); |
46 | if (screen != 0) | 46 | if (screen != 0) |
47 | screen->cycleFocus(m_option, false); | 47 | screen->cycleFocus(m_option, &m_pat, false); |
48 | } | 48 | } |
49 | 49 | ||
50 | void PrevWindowCmd::execute() { | 50 | void PrevWindowCmd::execute() { |
51 | BScreen *screen = Fluxbox::instance()->keyScreen(); | 51 | BScreen *screen = Fluxbox::instance()->keyScreen(); |
52 | if (screen != 0) | 52 | if (screen != 0) |
53 | screen->cycleFocus(m_option, true); | 53 | screen->cycleFocus(m_option, &m_pat, true); |
54 | } | 54 | } |
55 | 55 | ||
56 | void TypeAheadFocusCmd::execute() { | 56 | void TypeAheadFocusCmd::execute() { |
@@ -67,7 +67,7 @@ void TypeAheadFocusCmd::execute() { | |||
67 | &screen->focusControl().focusedOrderList(); | 67 | &screen->focusControl().focusedOrderList(); |
68 | } | 68 | } |
69 | 69 | ||
70 | screen->startTypeAheadFocus(*win_list, m_option); | 70 | screen->startTypeAheadFocus(*win_list, &m_pat); |
71 | } | 71 | } |
72 | } | 72 | } |
73 | 73 | ||
@@ -84,7 +84,7 @@ void GoToWindowCmd::execute() { | |||
84 | &screen->focusControl().creationOrderList() : | 84 | &screen->focusControl().creationOrderList() : |
85 | &screen->focusControl().focusedOrderList(); | 85 | &screen->focusControl().focusedOrderList(); |
86 | } | 86 | } |
87 | screen->focusControl().goToWindowNumber(win_list, m_num, m_option); | 87 | screen->focusControl().goToWindowNumber(*win_list, m_num, &m_pat); |
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||