summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 1953ae2a6..6690e0af1 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -724,8 +724,8 @@ SPDesktop::point() const
if (p[Geom::X] >= r0[Geom::X] &&
p[Geom::X] <= r1[Geom::X] &&
- p[Geom::Y] >= r1[Geom::Y] &&
- p[Geom::Y] <= r0[Geom::Y])
+ p[Geom::Y] >= r0[Geom::Y] &&
+ p[Geom::Y] <= r1[Geom::Y])
{
return p;
} else {