mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
cursor-tracker: Improve symmetry between two paths
This commit is contained in:
parent
4ea9a28eee
commit
eac6e9ed41
@ -151,8 +151,9 @@ make_wayland_cursor_tracker (MetaScreen *screen)
|
|||||||
static MetaCursorTracker *
|
static MetaCursorTracker *
|
||||||
make_x11_cursor_tracker (MetaScreen *screen)
|
make_x11_cursor_tracker (MetaScreen *screen)
|
||||||
{
|
{
|
||||||
MetaCursorTracker *self = g_object_new (META_TYPE_CURSOR_TRACKER, NULL);
|
MetaCursorTracker *self;
|
||||||
|
|
||||||
|
self = g_object_new (META_TYPE_CURSOR_TRACKER, NULL);
|
||||||
self->screen = screen;
|
self->screen = screen;
|
||||||
self->renderer = meta_cursor_renderer_new ();
|
self->renderer = meta_cursor_renderer_new ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user