Compared a Qt key code to an X key code and lost the ability to use Escape
to abort switch between programs/desktops mode. Fixed. svn path=/trunk/kdebase/kwin/; revision=100319
This commit is contained in:
parent
a8fb7ecd4a
commit
e2b6a56386
1 changed files with 1 additions and 1 deletions
|
@ -937,7 +937,7 @@ bool Workspace::keyPress(XKeyEvent key)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (control_grab || tab_grab){
|
if (control_grab || tab_grab){
|
||||||
if ((keyCombQt & 0xffff) == XK_Escape){
|
if ((keyCombQt & 0xffff) == Qt::Key_Escape){
|
||||||
XUngrabKeyboard(qt_xdisplay(), kwin_time);
|
XUngrabKeyboard(qt_xdisplay(), kwin_time);
|
||||||
XUngrabPointer( qt_xdisplay(), kwin_time);
|
XUngrabPointer( qt_xdisplay(), kwin_time);
|
||||||
tab_box->hide();
|
tab_box->hide();
|
||||||
|
|
Loading…
Reference in a new issue