[mutter] display: Remove the screen from get_tab_list
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] display: Remove the screen from get_tab_list
- Date: Tue, 3 Jun 2014 12:53:54 +0000 (UTC)
commit f5a4e996a8e511879672fa2f7a66bdb32af9b262
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jun 3 14:40:15 2014 +0200
display: Remove the screen from get_tab_list
src/core/display.c | 6 ++----
src/meta/display.h | 1 -
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 261fe5f..a7db76e 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 694d7e9..0c420fd 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]