summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-05-18 23:16:36 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-05-18 23:16:36 +0200
commitdb01eed1a7eeb907054959d63e59a2c15c35e68c (patch)
tree7bc7d079f29bdebee93f612ae2419e9a4b6e4036 /kde
parentb95682a130939f2066b738e14a3695135c5d897c (diff)
downloadzcomp-db01eed1a7eeb907054959d63e59a2c15c35e68c.tar.gz
zcomp-db01eed1a7eeb907054959d63e59a2c15c35e68c.tar.bz2
Disable Qt 4.4 "window less child widgets" feature to make button drawing work correctly again.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kde/window-decorator-kde4/main.cpp b/kde/window-decorator-kde4/main.cpp
index ce42437..781edbe 100644
--- a/kde/window-decorator-kde4/main.cpp
+++ b/kde/window-decorator-kde4/main.cpp
@@ -126,6 +126,9 @@ main (int argc, char **argv)
}
}
+ // Disable window less child widgets
+ QApplication::setAttribute(Qt::AA_NativeWindows, true);
+
app = new KWD::Decorator (dpy, visual ? Qt::HANDLE(visual) : 0,
colormap ? Qt::HANDLE(colormap) : 0);