Merging from old trunk:

r623744 | lunakl | 2007-01-15 13:19:44 +0100 (Mon, 15 Jan 2007) | 3 lines

Kill only with left or middle button.


svn path=/trunk/KDE/kdebase/workspace/; revision=659523
icc-effect-5.14.5
Luboš Luňák 2007-04-30 11:34:41 +00:00
parent 3f12214c12
commit fe3c4e286f
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ void KillWindow::start()
escape_pressed = true;
break;
}
workspace->killWindowId(ev.xbutton.subwindow);
if( ev.xbutton.button == Button1 || ev.xbutton.button == Button2 )
workspace->killWindowId(ev.xbutton.subwindow);
}
continue;
}