diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 10:56:16 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-30 10:56:16 (GMT) |
commit | 6fbd9589cbe77c4d3213ba43c7e88fc451c9664e (patch) | |
tree | bfec32f37cdeed130731b758d4fe9fe14e2a8392 /src/gui/kernel/qapplication_x11.cpp | |
parent | 83fff2f970b9a7b41861336c7dca0eadbda28099 (diff) | |
parent | 8c4edbd04f350294462fd689748de2dd7cc84d47 (diff) | |
download | Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.zip Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.tar.gz Qt-6fbd9589cbe77c4d3213ba43c7e88fc451c9664e.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-platform-team into 4.6
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); |