From 7db006210bee765e4c21cc195e5795499a09c080 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 22 Mar 2013 01:51:54 -0500 Subject: Enable ARGB support in kdesktop_lock --- kdesktop/lock/main.cc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'kdesktop/lock/main.cc') 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(); -- cgit v1.2.1