Skip to content

Commit

Permalink
Restore way to close windows with middle click
Browse files Browse the repository at this point in the history
It was forgot during transition to libwnck
Closes #191
  • Loading branch information
stefano-k committed Jun 25, 2014
1 parent 67c9f12 commit c5cd7ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion applets/wncklet/window-list.c
Expand Up @@ -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

Expand Down
Expand Up @@ -237,7 +237,8 @@ container_child_background_set (GObject *source_object,
mate_panel_applet_container_child_set_finish (container, res, NULL);

if (frame->priv->bg_cancellable)
g_object_unref (frame->priv->bg_cancellable);
g_clear_object (&frame->priv->bg_cancellable);

frame->priv->bg_cancellable = NULL;
}

Expand Down

0 comments on commit c5cd7ee

Please sign in to comment.