aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-05-19 15:32:47 (GMT)
committerrathnor <rathnor>2003-05-19 15:32:47 (GMT)
commitb68b1c7623be09100bb1e6a0d3923d6e1c86a91a (patch)
treeee8c1f69ab45b29943565384c877df15f3a9634d /src/Slit.cc
parent3b2afa5a305f0106baef32068066b7d41eeab777 (diff)
downloadfluxbox_pavel-b68b1c7623be09100bb1e6a0d3923d6e1c86a91a.zip
fluxbox_pavel-b68b1c7623be09100bb1e6a0d3923d6e1c86a91a.tar.bz2
xinerama updates
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index b2dd383..8830cb8 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -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: Slit.cc,v 1.56 2003/05/19 14:26:30 rathnor Exp $ 25// $Id: Slit.cc,v 1.57 2003/05/19 15:32:47 rathnor Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -51,10 +51,7 @@
51#include "FbMenu.hh" 51#include "FbMenu.hh"
52#include "Transparent.hh" 52#include "Transparent.hh"
53#include "IntResMenuItem.hh" 53#include "IntResMenuItem.hh"
54
55#ifdef XINERAMA
56#include "Xinerama.hh" 54#include "Xinerama.hh"
57#endif // XINERAMA
58 55
59#include <algorithm> 56#include <algorithm>
60#include <iostream> 57#include <iostream>
@@ -794,16 +791,13 @@ void Slit::reposition() {
794 head_w, 791 head_w,
795 head_h; 792 head_h;
796 793
797#ifdef XINERAMA
798 if (screen().hasXinerama()) { 794 if (screen().hasXinerama()) {
799 int head = screen().getSlitOnHead(); 795 int head = screen().getSlitOnHead();
800 head_x = screen().getHeadX(head); 796 head_x = screen().getHeadX(head);
801 head_y = screen().getHeadY(head); 797 head_y = screen().getHeadY(head);
802 head_w = screen().getHeadWidth(head); 798 head_w = screen().getHeadWidth(head);
803 head_h = screen().getHeadHeight(head); 799 head_h = screen().getHeadHeight(head);
804 } else 800 } else {
805#endif // XINERAMA
806 {
807 head_w = screen().width(); 801 head_w = screen().width();
808 head_h = screen().height(); 802 head_h = screen().height();
809 } 803 }