summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-01-14 16:06:47 +0100
committerDennis Kasprzyk <onestone@compiz-fusion.org>2009-01-14 16:06:47 +0100
commit593ce9dcbb1a3b6974e98ea190ad8abe1fd8434c (patch)
treea2713e912e5bfaa7a33d296207dc91d56b390b30 /kde
parent438ca6439fd2dc85774b83f887eb893a17726d05 (diff)
downloadzcomp-593ce9dcbb1a3b6974e98ea190ad8abe1fd8434c.tar.gz
zcomp-593ce9dcbb1a3b6974e98ea190ad8abe1fd8434c.tar.bz2
Fixed KWindowInfo::geometry usage.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kde/window-decorator-kde4/window.cpp b/kde/window-decorator-kde4/window.cpp
index af034aa..c87919d 100644
--- a/kde/window-decorator-kde4/window.cpp
+++ b/kde/window-decorator-kde4/window.cpp
@@ -1610,7 +1610,8 @@ KWD::Window::updateSelected (WId selectedId)
void
KWD::Window::updateWindowGeometry (void)
{
- KWindowInfo wInfo = KWindowSystem::windowInfo (mClientId, NET::WMGeometry);
+ KWindowInfo wInfo = KWindowSystem::windowInfo (mClientId, NET::WMGeometry |
+ NET::WMDesktop);
QRect geometry = wInfo.geometry ();
int w, h;