Origin: other
Last-Update: 2016-05-29
This patch checks for an environment variable set by MATE desktop, in order to
make Qt4 applications natively use the GTK+ style when run on this desktop
Last-Update: 2016-05-29
Gbp-Pq: Name add-mate-support.patch
break;
}
+ // Check the equivalent environment variable set by MATE
+ if (!qgetenv("MATE_DESKTOP_SESSION_ID").isEmpty()) {
+ X11->desktopEnvironment = DE_GNOME;
+ break;
+ }
+
rc = XGetWindowProperty(X11->display, QX11Info::appRootWindow(), ATOM(_DT_SAVE_MODE),
0, 2, False, XA_STRING, &type, &format, &length,
&after, &data);