summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-09-15 16:05:02 +0200
committerDanny Baumann <dannybaumann@web.de>2008-09-15 16:05:02 +0200
commit55b5d10f976a0c4e389225a2f1891d93ba6df79d (patch)
tree27f8c5ef45822eb329ffeb68fea073f077d00bf8 /src/display.cpp
parentef004194f61e9194bcbcc9907cd5c9786f7432bb (diff)
downloadzcomp-55b5d10f976a0c4e389225a2f1891d93ba6df79d.tar.gz
zcomp-55b5d10f976a0c4e389225a2f1891d93ba6df79d.tar.bz2
Remove getter for w->attrib and use member getters instead.
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/display.cpp b/src/display.cpp
index 0abb9d7..fa55655 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -419,8 +419,10 @@ CompScreen::windowMenu (CompDisplay *d,
time = CompOption::getIntOptionNamed (options, "time", CurrentTime);
button = CompOption::getIntOptionNamed (options, "button", 0);
- x = CompOption::getIntOptionNamed (options, "x", w->attrib ().x);
- y = CompOption::getIntOptionNamed (options, "y", w->attrib ().y);
+ x = CompOption::getIntOptionNamed (options, "x",
+ w->geometry ().x ());
+ y = CompOption::getIntOptionNamed (options, "y",
+ w->geometry ().y ());
w->screen ()->toolkitAction (
w->screen ()->display ()->atoms().toolkitActionWindowMenu,