mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
screen: Remove more unused private API
These queued redraws, which is a problem when we want to know exactly what changed when we redraw, so we do minimal effort. We're eventually going to replace the queue_redraw API with something a lot better, so let's just get these out of the way now. https://bugzilla.gnome.org/show_bug.cgi?id=676052
This commit is contained in:
parent
6fb857cb23
commit
8cb7a450ae
@ -156,8 +156,6 @@ void meta_screen_manage_all_windows (MetaScreen *scree
|
||||
void meta_screen_foreach_window (MetaScreen *screen,
|
||||
MetaScreenWindowFunc func,
|
||||
gpointer data);
|
||||
void meta_screen_queue_frame_redraws (MetaScreen *screen);
|
||||
void meta_screen_queue_window_resizes (MetaScreen *screen);
|
||||
|
||||
void meta_screen_set_cursor (MetaScreen *screen,
|
||||
MetaCursor cursor);
|
||||
|
@ -1216,31 +1216,6 @@ meta_screen_foreach_window (MetaScreen *screen,
|
||||
g_slist_free (winlist);
|
||||
}
|
||||
|
||||
static void
|
||||
queue_draw (MetaScreen *screen, MetaWindow *window, gpointer data)
|
||||
{
|
||||
if (window->frame)
|
||||
meta_frame_queue_draw (window->frame);
|
||||
}
|
||||
|
||||
void
|
||||
meta_screen_queue_frame_redraws (MetaScreen *screen)
|
||||
{
|
||||
meta_screen_foreach_window (screen, queue_draw, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
queue_resize (MetaScreen *screen, MetaWindow *window, gpointer data)
|
||||
{
|
||||
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
|
||||
}
|
||||
|
||||
void
|
||||
meta_screen_queue_window_resizes (MetaScreen *screen)
|
||||
{
|
||||
meta_screen_foreach_window (screen, queue_resize, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
meta_screen_get_n_workspaces (MetaScreen *screen)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user