summaryrefslogtreecommitdiff
path: root/plugins/mouse/msd-locate-pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mouse/msd-locate-pointer.c')
-rw-r--r--plugins/mouse/msd-locate-pointer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mouse/msd-locate-pointer.c b/plugins/mouse/msd-locate-pointer.c
index 6009404..060e675 100644
--- a/plugins/mouse/msd-locate-pointer.c
+++ b/plugins/mouse/msd-locate-pointer.c
@@ -48,8 +48,6 @@ struct MsdLocatePointerData
gdouble progress;
};
-static MsdLocatePointerData *data = NULL;
-
static void
locate_pointer_paint (MsdLocatePointerData *data,
cairo_t *cr,
@@ -414,6 +412,7 @@ void
msd_locate_pointer (GdkDisplay *display)
{
GdkScreen *screen = gdk_display_get_default_screen (display);
+ static MsdLocatePointerData *data = NULL;
if (data == NULL)
{