mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
display: Remove the screen from get_tab_list
This commit is contained in:
parent
a7f083897f
commit
f5a4e996a8
@ -2525,21 +2525,19 @@ mru_cmp (gconstpointer a,
|
|||||||
* meta_display_get_tab_list:
|
* meta_display_get_tab_list:
|
||||||
* @display: a #MetaDisplay
|
* @display: a #MetaDisplay
|
||||||
* @type: type of tab list
|
* @type: type of tab list
|
||||||
* @screen: a #MetaScreen
|
|
||||||
* @workspace: (nullable): origin workspace
|
* @workspace: (nullable): origin workspace
|
||||||
*
|
*
|
||||||
* Determine the list of windows that should be displayed for Alt-TAB
|
* Determine the list of windows that should be displayed for Alt-TAB
|
||||||
* functionality. The windows are returned in most recently used order.
|
* functionality. The windows are returned in most recently used order.
|
||||||
* If @workspace is not %NULL, the list only conains windows that are on
|
* If @workspace is not %NULL, the list only conains windows that are on
|
||||||
* @workspace or have the demands-attention hint set; otherwise it contains
|
* @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
|
* Returns: (transfer container) (element-type Meta.Window): List of windows
|
||||||
*/
|
*/
|
||||||
GList*
|
GList*
|
||||||
meta_display_get_tab_list (MetaDisplay *display,
|
meta_display_get_tab_list (MetaDisplay *display,
|
||||||
MetaTabList type,
|
MetaTabList type,
|
||||||
MetaScreen *screen,
|
|
||||||
MetaWorkspace *workspace)
|
MetaWorkspace *workspace)
|
||||||
{
|
{
|
||||||
GList *tab_list = NULL;
|
GList *tab_list = NULL;
|
||||||
@ -2614,7 +2612,7 @@ meta_display_get_tab_next (MetaDisplay *display,
|
|||||||
gboolean skip;
|
gboolean skip;
|
||||||
GList *tab_list;
|
GList *tab_list;
|
||||||
MetaWindow *ret;
|
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)
|
if (tab_list == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -94,7 +94,6 @@ guint32 meta_display_get_current_time_roundtrip (MetaDisplay *display);
|
|||||||
|
|
||||||
GList* meta_display_get_tab_list (MetaDisplay *display,
|
GList* meta_display_get_tab_list (MetaDisplay *display,
|
||||||
MetaTabList type,
|
MetaTabList type,
|
||||||
MetaScreen *screen,
|
|
||||||
MetaWorkspace *workspace);
|
MetaWorkspace *workspace);
|
||||||
|
|
||||||
MetaWindow* meta_display_get_tab_next (MetaDisplay *display,
|
MetaWindow* meta_display_get_tab_next (MetaDisplay *display,
|
||||||
|
Loading…
Reference in New Issue
Block a user