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
icc-effect-5.14.5
Ellis Whitehead 2001-06-04 06:43:31 +00:00
parent a8fb7ecd4a
commit e2b6a56386
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ bool Workspace::keyPress(XKeyEvent key)
}
if (control_grab || tab_grab){
if ((keyCombQt & 0xffff) == XK_Escape){
if ((keyCombQt & 0xffff) == Qt::Key_Escape){
XUngrabKeyboard(qt_xdisplay(), kwin_time);
XUngrabPointer( qt_xdisplay(), kwin_time);
tab_box->hide();