summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/main.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-22 01:51:54 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-22 01:51:54 -0500
commit7db006210bee765e4c21cc195e5795499a09c080 (patch)
tree5d0973b7caa111b75bcafb18c5b07c690d8cc8f1 /kdesktop/lock/main.cc
parentbf0b8eb3b27ea20173bee2690a8daef410a00b59 (diff)
downloadtdebase-7db006210bee765e4c21cc195e5795499a09c080.tar.gz
tdebase-7db006210bee765e4c21cc195e5795499a09c080.zip
Enable ARGB support in kdesktop_lock
Diffstat (limited to 'kdesktop/lock/main.cc')
-rw-r--r--kdesktop/lock/main.cc13
1 files changed, 5 insertions, 8 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
index 017250a35..c2a6c753a 100644
--- a/kdesktop/lock/main.cc
+++ b/kdesktop/lock/main.cc
@@ -307,15 +307,12 @@ int main( int argc, char **argv )
}
}
-// FIXME
-// Composite should be enabled where possible, however using ARGB visuals seems to cause problems
-// with XScreenSaver hacks (they do not display).
-// #ifdef COMPOSITE
-// MyApp app(TDEApplication::openX11RGBADisplay());
-// argb_visual = app.isX11CompositionAvailable();
-// #else
+#ifdef COMPOSITE
+ MyApp app(TDEApplication::openX11RGBADisplay());
+ argb_visual = app.isX11CompositionAvailable();
+#else
MyApp app;
-// #endif
+#endif
kdDebug() << "app " << kdesktop_screen_number << " " << starting_screen << " " << child << " " << child_sockets.count() << " " << parent_connection << endl;
app.disableSessionManagement();