summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/main.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-04-23 14:59:01 -0500
committerTimothy Pearson <[email protected]>2012-04-23 14:59:01 -0500
commit67a3a8f34892a6491ba0073a3f583503b44e58e7 (patch)
tree7f3c81b5f0c6b65e0e00711831211c1475af9241 /kdesktop/lock/main.cc
parente72f4926c094b2bd94501518fbcd2a3e66a74f6a (diff)
downloadtdebase-67a3a8f34892a6491ba0073a3f583503b44e58e7.tar.gz
tdebase-67a3a8f34892a6491ba0073a3f583503b44e58e7.zip
Fix desktop lock failure due to race condition within signal handler between qt and xcb
Diffstat (limited to 'kdesktop/lock/main.cc')
-rw-r--r--kdesktop/lock/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
index 5853da17a..225d9c5b4 100644
--- a/kdesktop/lock/main.cc
+++ b/kdesktop/lock/main.cc
@@ -266,7 +266,7 @@ int main( int argc, char **argv )
bool rt;
bool sig = false;
- if( (!child && (args->isSet( "forcelock" )) || (signalled_forcelock == TRUE))) {
+ if( (((!child) && (args->isSet( "forcelock" ))) || (signalled_forcelock == TRUE))) {
rt = process.lock();
sig = true;
}