aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-05-20 11:03:11 (GMT)
committerrathnor <rathnor>2003-05-20 11:03:11 (GMT)
commita88511a4a772ec021029649905b7ce645ff9a597 (patch)
treed75369cc8a4e7b2be9bf9ef1ecc3d5ac771dbc6f /src/Screen.hh
parentf911c4035fe86ed4c85a79f96aaab30902d56f89 (diff)
downloadfluxbox_pavel-a88511a4a772ec021029649905b7ce645ff9a597.zip
fluxbox_pavel-a88511a4a772ec021029649905b7ce645ff9a597.tar.bz2
xinerama for placement + snapping, + tidy
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index d156013..7c96a4a 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.102 2003/05/19 22:45:51 fluxgen Exp $ 25// $Id: Screen.hh,v 1.103 2003/05/20 11:03:10 rathnor Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -137,10 +137,10 @@ public:
137 /* 137 /*
138 maximum screen bounds for given window 138 maximum screen bounds for given window
139 */ 139 */
140 unsigned int maxLeft(const FbTk::FbWindow &win) const; 140 unsigned int maxLeft(int head) const;
141 unsigned int maxRight(const FbTk::FbWindow &win) const; 141 unsigned int maxRight(int head) const;
142 unsigned int maxTop(const FbTk::FbWindow &win) const; 142 unsigned int maxTop(int head) const;
143 unsigned int maxBottom(const FbTk::FbWindow &win) const; 143 unsigned int maxBottom(int head) const;
144 144
145 inline unsigned int width() const { return rootWindow().width(); } 145 inline unsigned int width() const { return rootWindow().width(); }
146 inline unsigned int height() const { return rootWindow().height(); } 146 inline unsigned int height() const { return rootWindow().height(); }
@@ -304,6 +304,7 @@ public:
304 void initXinerama(); 304 void initXinerama();
305 305
306 int getHead(int x, int y) const; 306 int getHead(int x, int y) const;
307 int getHead(FbTk::FbWindow &win) const;
307 int getCurrHead() const; 308 int getCurrHead() const;
308 int getHeadX(int head) const; 309 int getHeadX(int head) const;
309 int getHeadY(int head) const; 310 int getHeadY(int head) const;