----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/122019/#review73872 -----------------------------------------------------------
src/runtime/kglobalaccel_x11.cpp <https://git.reviewboard.kde.org/r/122019/#comment51365> somehow I don't like this guard due to QX11Info::connection() not being a valid connection any more if the connection is broken. I'm wondering whether there are other ways - I expect that Qt quits due to an XIO error? Maybe we could install a handler for it? - Martin Gräßlin On Jan. 12, 2015, 4:26 p.m., David Edmundson wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/122019/ > ----------------------------------------------------------- > > (Updated Jan. 12, 2015, 4:26 p.m.) > > > Review request for KDE Frameworks. > > > Repository: kglobalaccel > > > Description > ------- > > As kglobalaccel is no longer a kdeinit executable it is not killed > gracefully in shutdown, when a user logs out it will be killed as the X > connection is removed. > > GlobalShortcutsRegistry on deletion calls grabKey(key, false) to remove > any remaining grabs, since the X connection has gone any XCB results in > a crash. > > This patch adds a guard around that. > > > Diffs > ----- > > src/runtime/kglobalaccel_x11.cpp dfb03b5 > > Diff: https://git.reviewboard.kde.org/r/122019/diff/ > > > Testing > ------- > > > Thanks, > > David Edmundson > >
_______________________________________________ Kde-frameworks-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
