diff options
Diffstat (limited to 'plugins/mouse/msd-locate-pointer.c')
-rw-r--r-- | plugins/mouse/msd-locate-pointer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c index 6009404..e384017 100644 --- a/plugins/mouse/msd-locate-pointer.c +++ b/plugins/mouse/msd-locate-pointer.c @@ -1,6 +1,7 @@ /* msd-locate-pointer.c * * Copyright (C) 2008 Carlos Garnacho <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -48,8 +49,6 @@ struct MsdLocatePointerData gdouble progress; }; -static MsdLocatePointerData *data = NULL; - static void locate_pointer_paint (MsdLocatePointerData *data, cairo_t *cr, @@ -414,6 +413,7 @@ void msd_locate_pointer (GdkDisplay *display) { GdkScreen *screen = gdk_display_get_default_screen (display); + static MsdLocatePointerData *data = NULL; if (data == NULL) { @@ -435,7 +435,6 @@ msd_locate_pointer (GdkDisplay *display) msd_timeline_start (data->timeline); } - #define KEYBOARD_GROUP_SHIFT 13 #define KEYBOARD_GROUP_MASK ((1 << 13) | (1 << 14)) @@ -576,7 +575,6 @@ set_locate_pointer (void) } } - int main (int argc, char *argv[]) { |