diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 13:39:48 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 13:39:48 (GMT) |
commit | 6a907f37d698eadc9cc35712b9cda48ba19e634d (patch) | |
tree | d1df866f6a19901f5fe0431e5609cfc2d02484a9 /src/gui/kernel/qapplication_x11.cpp | |
parent | 8097fa53b5e0e6228bd5737de6de8cd77c04dddf (diff) | |
parent | 8c4edbd04f350294462fd689748de2dd7cc84d47 (diff) | |
download | Qt-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.cpp | 6 |
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); |