mirror of
https://github.com/brl/mutter.git
synced 2025-01-25 19:08:56 +00:00
screen: Refactor update_cursor a bit
This commit is contained in:
parent
be60e4f6e7
commit
565883dadb
@ -1381,6 +1381,12 @@ update_focus_mode (MetaScreen *screen)
|
|||||||
/* nothing to do anymore */ ;
|
/* nothing to do anymore */ ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
meta_screen_update_cursor (MetaScreen *screen)
|
||||||
|
{
|
||||||
|
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker, screen->current_cursor);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
meta_screen_set_cursor (MetaScreen *screen,
|
meta_screen_set_cursor (MetaScreen *screen,
|
||||||
MetaCursor cursor)
|
MetaCursor cursor)
|
||||||
@ -1389,14 +1395,7 @@ meta_screen_set_cursor (MetaScreen *screen,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
screen->current_cursor = cursor;
|
screen->current_cursor = cursor;
|
||||||
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker, cursor);
|
meta_screen_update_cursor (screen);
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
meta_screen_update_cursor (MetaScreen *screen)
|
|
||||||
{
|
|
||||||
meta_cursor_tracker_set_root_cursor (screen->cursor_tracker,
|
|
||||||
screen->current_cursor);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user