summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_x11.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-10-30 13:39:48 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-10-30 13:39:48 (GMT)
commit6a907f37d698eadc9cc35712b9cda48ba19e634d (patch)
treed1df866f6a19901f5fe0431e5609cfc2d02484a9 /src/gui/kernel/qapplication_x11.cpp
parent8097fa53b5e0e6228bd5737de6de8cd77c04dddf (diff)
parent8c4edbd04f350294462fd689748de2dd7cc84d47 (diff)
downloadQt-6a907f37d698eadc9cc35712b9cda48ba19e634d.zip
Qt-6a907f37d698eadc9cc35712b9cda48ba19e634d.tar.gz
Qt-6a907f37d698eadc9cc35712b9cda48ba19e634d.tar.bz2
Merge commit '8c4edbd04f350294462fd689748de2dd7cc84d47' into 4.6-upstream
Diffstat (limited to 'src/gui/kernel/qapplication_x11.cpp')
-rw-r--r--src/gui/kernel/qapplication_x11.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_x11.cpp b/src/gui/kernel/qapplication_x11.cpp
index 7f11faa..b0ab760 100644
--- a/src/gui/kernel/qapplication_x11.cpp
+++ b/src/gui/kernel/qapplication_x11.cpp
@@ -3752,6 +3752,12 @@ int QApplication::x11ProcessEvent(XEvent* event)
qt_get_net_virtual_roots();
} else if (event->xproperty.atom == ATOM(_NET_WORKAREA)) {
qt_desktopwidget_update_workarea();
+
+ // emit the workAreaResized() signal
+ QDesktopWidget *desktop = QApplication::desktop();
+ int numScreens = desktop->numScreens();
+ for (int i = 0; i < numScreens; ++i)
+ emit desktop->workAreaResized(i);
}
} else if (widget) {
widget->translatePropertyEvent(event);