diff options
Diffstat (limited to 'src/FocusControl.hh')
-rw-r--r-- | src/FocusControl.hh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/FocusControl.hh b/src/FocusControl.hh index 0790110..4e2ceab 100644 --- a/src/FocusControl.hh +++ b/src/FocusControl.hh | |||
@@ -77,10 +77,10 @@ public: | |||
77 | * @param pat pattern for matching focusables | 77 | * @param pat pattern for matching focusables |
78 | * @param reverse reverse the cycle order | 78 | * @param reverse reverse the cycle order |
79 | */ | 79 | */ |
80 | void cycleFocus(Focusables &winlist, const ClientPattern *pat = 0, | 80 | void cycleFocus(const Focusables &winlist, const ClientPattern *pat = 0, |
81 | bool reverse = false); | 81 | bool reverse = false); |
82 | 82 | ||
83 | void goToWindowNumber(Focusables &winlist, int num, | 83 | void goToWindowNumber(const Focusables &winlist, int num, |
84 | const ClientPattern *pat = 0); | 84 | const ClientPattern *pat = 0); |
85 | /// sets the focused window on a screen | 85 | /// sets the focused window on a screen |
86 | void setScreenFocusedWindow(WinClient &win_client); | 86 | void setScreenFocusedWindow(WinClient &win_client); |
@@ -122,11 +122,11 @@ public: | |||
122 | WinClient *lastFocusedWindow(FluxboxWindow &group, WinClient *ignore_client = 0); | 122 | WinClient *lastFocusedWindow(FluxboxWindow &group, WinClient *ignore_client = 0); |
123 | 123 | ||
124 | /// @return focus list in creation order | 124 | /// @return focus list in creation order |
125 | Focusables &creationOrderList() { return m_creation_order_list; } | 125 | const Focusables &creationOrderList() const { return m_creation_order_list; } |
126 | /// @return the focus list in focused order | 126 | /// @return the focus list in focused order |
127 | Focusables &focusedOrderList() { return m_focused_list; } | 127 | const Focusables &focusedOrderList() const { return m_focused_list; } |
128 | Focusables &creationOrderWinList() { return m_creation_order_win_list; } | 128 | const Focusables &creationOrderWinList() const { return m_creation_order_win_list; } |
129 | Focusables &focusedOrderWinList() { return m_focused_win_list; } | 129 | const Focusables &focusedOrderWinList() const { return m_focused_win_list; } |
130 | 130 | ||
131 | /// remove client from focus list | 131 | /// remove client from focus list |
132 | void removeClient(WinClient &client); | 132 | void removeClient(WinClient &client); |
@@ -158,8 +158,8 @@ private: | |||
158 | Focusables m_focused_win_list; | 158 | Focusables m_focused_win_list; |
159 | Focusables m_creation_order_win_list; | 159 | Focusables m_creation_order_win_list; |
160 | 160 | ||
161 | Focusables::iterator m_cycling_window; | 161 | Focusables::const_iterator m_cycling_window; |
162 | Focusables *m_cycling_list; | 162 | const Focusables *m_cycling_list; |
163 | Focusable *m_was_iconic; | 163 | Focusable *m_was_iconic; |
164 | WinClient *m_cycling_last; | 164 | WinClient *m_cycling_last; |
165 | 165 | ||