diff options
author | Stefano Karapetsas <[email protected]> | 2014-06-25 16:23:02 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-06-25 16:23:02 +0200 |
commit | c5cd7ee4a663d862a5893fb48cbfb087540978cc (patch) | |
tree | 2af5a6c6a9a3dd36924e16a08297e1ae9df7457c /applets | |
parent | 67c9f12a0d4188b546284efec2d0cd1b90f9052d (diff) | |
download | mate-panel-c5cd7ee4a663d862a5893fb48cbfb087540978cc.tar.bz2 mate-panel-c5cd7ee4a663d862a5893fb48cbfb087540978cc.tar.xz |
Restore way to close windows with middle click
It was forgot during transition to libwnck
Closes https://github.com/mate-desktop/mate-panel/issues/191
Diffstat (limited to 'applets')
-rw-r--r-- | applets/wncklet/window-list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 14549478..1f1c6c2e 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -450,7 +450,8 @@ gboolean window_list_applet_fill(MatePanelApplet* applet) #ifdef WNCK_CHECK_VERSION #if WNCK_CHECK_VERSION (3, 4, 6) - wnck_tasklist_set_orientation (tasklist->tasklist, tasklist->orientation); + wnck_tasklist_set_orientation (WNCK_TASKLIST (tasklist->tasklist), tasklist->orientation); + wnck_tasklist_set_middle_click_close (WNCK_TASKLIST (tasklist->tasklist), TRUE); #endif #endif |