diff --git a/src/core/display.c b/src/core/display.c index 261fe5fd2..a7db76e74 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -2525,21 +2525,19 @@ mru_cmp (gconstpointer a, * meta_display_get_tab_list: * @display: a #MetaDisplay * @type: type of tab list - * @screen: a #MetaScreen * @workspace: (nullable): origin workspace * * Determine the list of windows that should be displayed for Alt-TAB * functionality. The windows are returned in most recently used order. * If @workspace is not %NULL, the list only conains windows that are on * @workspace or have the demands-attention hint set; otherwise it contains - * all windows on @screen. + * all windows. * * Returns: (transfer container) (element-type Meta.Window): List of windows */ GList* meta_display_get_tab_list (MetaDisplay *display, MetaTabList type, - MetaScreen *screen, MetaWorkspace *workspace) { GList *tab_list = NULL; @@ -2614,7 +2612,7 @@ meta_display_get_tab_next (MetaDisplay *display, gboolean skip; GList *tab_list; MetaWindow *ret; - tab_list = meta_display_get_tab_list (display, type, NULL, workspace); + tab_list = meta_display_get_tab_list (display, type, workspace); if (tab_list == NULL) return NULL; diff --git a/src/meta/display.h b/src/meta/display.h index 694d7e95a..0c420fde3 100644 --- a/src/meta/display.h +++ b/src/meta/display.h @@ -94,7 +94,6 @@ guint32 meta_display_get_current_time_roundtrip (MetaDisplay *display); GList* meta_display_get_tab_list (MetaDisplay *display, MetaTabList type, - MetaScreen *screen, MetaWorkspace *workspace); MetaWindow* meta_display_get_tab_next (MetaDisplay *display,