diff -Nru qt4-x11-4.8.0/debian/changelog qt4-x11-4.8.0/debian/changelog --- qt4-x11-4.8.0/debian/changelog 2012-02-23 16:24:25.000000000 +0000 +++ qt4-x11-4.8.0/debian/changelog 2012-03-09 17:09:20.000000000 +0000 @@ -1,3 +1,10 @@ +qt4-x11 (4:4.8.0-1ubuntu9) precise; urgency=low + + * "update kubuntu_31_unity_workarea_atom.diff to notify of + workArea change on change of atom _UNITY_NET_WORKAREA_REGION" + + -- Jonathan Riddell Fri, 09 Mar 2012 17:07:54 +0000 + qt4-x11 (4:4.8.0-1ubuntu8) precise; urgency=low * Add kubuntu_31_unity_workarea_atom.diff from Unity team diff -Nru qt4-x11-4.8.0/debian/patches/kubuntu_31_unity_workarea_atom.diff qt4-x11-4.8.0/debian/patches/kubuntu_31_unity_workarea_atom.diff --- qt4-x11-4.8.0/debian/patches/kubuntu_31_unity_workarea_atom.diff 2012-02-23 16:26:20.000000000 +0000 +++ qt4-x11-4.8.0/debian/patches/kubuntu_31_unity_workarea_atom.diff 2012-03-09 17:07:51.000000000 +0000 @@ -9,8 +9,8 @@ Index: qt4-x11-4.8.0/src/gui/kernel/qapplication_x11.cpp =================================================================== ---- qt4-x11-4.8.0.orig/src/gui/kernel/qapplication_x11.cpp 2012-02-23 16:19:00.000000000 +0000 -+++ qt4-x11-4.8.0/src/gui/kernel/qapplication_x11.cpp 2012-02-23 16:20:01.519131386 +0000 +--- qt4-x11-4.8.0.orig/src/gui/kernel/qapplication_x11.cpp 2012-03-09 17:07:42.235108232 +0000 ++++ qt4-x11-4.8.0/src/gui/kernel/qapplication_x11.cpp 2012-03-09 17:07:48.667108437 +0000 @@ -218,6 +218,7 @@ "_NET_SUPPORTED\0" "_NET_VIRTUAL_ROOTS\0" @@ -19,10 +19,20 @@ "_NET_MOVERESIZE_WINDOW\0" "_NET_WM_MOVERESIZE\0" +@@ -3987,7 +3988,8 @@ + qt_get_net_supported(); + } else if (event->xproperty.atom == ATOM(_NET_VIRTUAL_ROOTS)) { + qt_get_net_virtual_roots(); +- } else if (event->xproperty.atom == ATOM(_NET_WORKAREA)) { ++ } else if (event->xproperty.atom == ATOM(_NET_WORKAREA) || ++ event->xproperty.atom == ATOM(_UNITY_NET_WORKAREA_REGION)) { + qt_desktopwidget_update_workarea(); + + // emit the workAreaResized() signal Index: qt4-x11-4.8.0/src/gui/kernel/qdesktopwidget_x11.cpp =================================================================== ---- qt4-x11-4.8.0.orig/src/gui/kernel/qdesktopwidget_x11.cpp 2011-12-08 05:06:02.000000000 +0000 -+++ qt4-x11-4.8.0/src/gui/kernel/qdesktopwidget_x11.cpp 2012-02-23 16:20:01.523131386 +0000 +--- qt4-x11-4.8.0.orig/src/gui/kernel/qdesktopwidget_x11.cpp 2012-03-09 17:07:42.227108234 +0000 ++++ qt4-x11-4.8.0/src/gui/kernel/qdesktopwidget_x11.cpp 2012-03-09 17:07:44.939108319 +0000 @@ -269,6 +269,11 @@ return d->screens[screen]; } @@ -89,8 +99,8 @@ Atom ret; Index: qt4-x11-4.8.0/src/gui/kernel/qt_x11_p.h =================================================================== ---- qt4-x11-4.8.0.orig/src/gui/kernel/qt_x11_p.h 2012-02-23 16:19:00.000000000 +0000 -+++ qt4-x11-4.8.0/src/gui/kernel/qt_x11_p.h 2012-02-23 16:20:01.591131388 +0000 +--- qt4-x11-4.8.0.orig/src/gui/kernel/qt_x11_p.h 2012-03-09 17:07:42.247108236 +0000 ++++ qt4-x11-4.8.0/src/gui/kernel/qt_x11_p.h 2012-03-09 17:07:44.939108319 +0000 @@ -588,6 +588,7 @@ _NET_SUPPORTED, _NET_VIRTUAL_ROOTS,