Commit 565883da authored by Jasper St. Pierre's avatar Jasper St. Pierre

screen: Refactor update_cursor a bit

parent be60e4f6
......@@ -1381,6 +1381,12 @@ update_focus_mode (MetaScreen *screen)
/* nothing to do anymore */ ;
}
void
meta_screen_update_cursor (MetaScreen *screen)
{
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker, screen->current_cursor);
}
void
meta_screen_set_cursor (MetaScreen *screen,
MetaCursor cursor)
......@@ -1389,14 +1395,7 @@ meta_screen_set_cursor (MetaScreen *screen,
return;
screen->current_cursor = cursor;
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker, cursor);
}
void
meta_screen_update_cursor (MetaScreen *screen)
{
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker,
screen->current_cursor);
meta_screen_update_cursor (screen);
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment