aboutsummaryrefslogtreecommitdiff
path: root/src/Pager.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-10-16 20:38:42 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-10-16 20:38:42 (GMT)
commitb9466363b3a231ceb96ae757073f1b5efba5fc94 (patch)
tree363bb79ba2987726c355016ee2611c0f104e3ba3 /src/Pager.hh
parent715dc907ae6a4ca65c492f94ce6379f59eff5157 (diff)
downloadfbpager-b9466363b3a231ceb96ae757073f1b5efba5fc94.zip
fbpager-b9466363b3a231ceb96ae757073f1b5efba5fc94.tar.bz2
Fixed so Extended Window Manager Hints actually work, needs more work though.
Diffstat (limited to 'src/Pager.hh')
-rw-r--r--src/Pager.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Pager.hh b/src/Pager.hh
index 241dff0..d6faa87 100644
--- a/src/Pager.hh
+++ b/src/Pager.hh
@@ -1,6 +1,9 @@
1#ifndef PAGER_HH 1#ifndef PAGER_HH
2#define PAGER_HH 2#define PAGER_HH
3 3
4#include <vector>
5#include <utility>
6
4namespace FbPager { 7namespace FbPager {
5 8
6/// @brief pager interface 9/// @brief pager interface
@@ -18,6 +21,11 @@ public:
18 virtual void updateWorkspaceCount(unsigned int num) = 0; 21 virtual void updateWorkspaceCount(unsigned int num) = 0;
19 virtual void setCurrentWorkspace(unsigned int num) = 0; 22 virtual void setCurrentWorkspace(unsigned int num) = 0;
20 virtual bool haveWindow(Window win) = 0; 23 virtual bool haveWindow(Window win) = 0;
24 /// Window and workspace pair container
25 typedef std::vector< std::pair<Window, unsigned int> > WindowsAndWorkspaces;
26
27 virtual void addWindows(const WindowsAndWorkspaces& windows) = 0;
28
21}; 29};
22 30
23} // end FbPager namespace 31} // end FbPager namespace