diff options
author | fluxgen <fluxgen> | 2002-08-30 14:03:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-08-30 14:03:31 (GMT) |
commit | d86785056d5f8d69cf1b0a6a0142fa7b5a3b0aba (patch) | |
tree | 349fe5fde262334e72290a9ed54b63d6cee826e7 /src/Screen.hh | |
parent | 2b168a584f05af026a9b6fdd21fb17cfb57a9e2f (diff) | |
download | fluxbox-d86785056d5f8d69cf1b0a6a0142fa7b5a3b0aba.zip fluxbox-d86785056d5f8d69cf1b0a6a0142fa7b5a3b0aba.tar.bz2 |
new function reassociateGroup and check moving window
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index b85a1b4..967804e 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.42 2002/08/11 22:11:42 fluxgen Exp $ | 25 | // $Id: Screen.hh,v 1.43 2002/08/30 14:03:31 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -126,11 +126,14 @@ public: | |||
126 | inline unsigned int getCurrentWorkspaceID() const { return current_workspace->workspaceID(); } | 126 | inline unsigned int getCurrentWorkspaceID() const { return current_workspace->workspaceID(); } |
127 | 127 | ||
128 | typedef std::vector<FluxboxWindow *> Icons; | 128 | typedef std::vector<FluxboxWindow *> Icons; |
129 | |||
130 | /// @return number of workspaces | ||
129 | inline unsigned int getCount() const { return workspacesList.size(); } | 131 | inline unsigned int getCount() const { return workspacesList.size(); } |
132 | /// @return number of icons | ||
130 | inline unsigned int getIconCount() const { return iconList.size(); } | 133 | inline unsigned int getIconCount() const { return iconList.size(); } |
131 | inline const Icons &getIconList() const { return iconList; } | 134 | inline const Icons &getIconList() const { return iconList; } |
132 | inline Icons &getIconList() { return iconList; } | 135 | inline Icons &getIconList() { return iconList; } |
133 | 136 | /// @return the resource value of number of workspace | |
134 | inline int getNumberOfWorkspaces() const { return *resource.workspaces; } | 137 | inline int getNumberOfWorkspaces() const { return *resource.workspaces; } |
135 | inline Toolbar::Placement getToolbarPlacement() const { return *resource.toolbar_placement; } | 138 | inline Toolbar::Placement getToolbarPlacement() const { return *resource.toolbar_placement; } |
136 | #ifdef XINERAMA | 139 | #ifdef XINERAMA |
@@ -219,6 +222,7 @@ public: | |||
219 | void changeWorkspaceID(unsigned int); | 222 | void changeWorkspaceID(unsigned int); |
220 | void sendToWorkspace(unsigned int workspace, FluxboxWindow *win=0, bool changeworkspace=true); | 223 | void sendToWorkspace(unsigned int workspace, FluxboxWindow *win=0, bool changeworkspace=true); |
221 | void raiseWindows(Window *workspace_stack, int num); | 224 | void raiseWindows(Window *workspace_stack, int num); |
225 | void reassociateGroup(FluxboxWindow *window, unsigned int workspace_id, bool ignore_sticky); | ||
222 | void reassociateWindow(FluxboxWindow *window, unsigned int workspace_id, bool ignore_sticky); | 226 | void reassociateWindow(FluxboxWindow *window, unsigned int workspace_id, bool ignore_sticky); |
223 | void prevFocus(int = 0); | 227 | void prevFocus(int = 0); |
224 | void nextFocus(int = 0); | 228 | void nextFocus(int = 0); |