Permalink
Browse files

add middle-click on button tasklist to close window feature

  • Loading branch information...
1 parent acafe43 commit 6d3058da7c1fe19fbd6b1148ca23fae5d1dae505 @stefano-k stefano-k committed Aug 31, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 libmatewnck/tasklist.c
@@ -3746,6 +3746,12 @@ matewnck_task_button_press_event (GtkWidget *widget,
return FALSE;
}
+ else if (event->button == 2)
+ {
+ /* middle-click close window */
+ matewnck_window_close (task->window, gtk_get_current_event_time ());
+ return TRUE;
+ }
else if (event->button == 3)
{
if (task->action_menu)

0 comments on commit 6d3058d

Please sign in to comment.