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
This commit is contained in:
Luboš Luňák 2007-04-30 11:34:41 +00:00
parent 3f12214c12
commit fe3c4e286f

View file

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