-
Committer:
Ray Strode
-
Date:
2017-12-11 15:41:44 UTC
-
Revision ID:
git-v1:e953e47216b95549ad8f92458e2fd5af5805e5e0
x11: don't call gdk_display_get_name before gtk_init
The x11 plugin calls gdk_display_get_name at load time
to set the device name state. This no longer works, since
gtk_init_check() happens later at open_device time, and
GTK+ no longer allows gdk_display_get_name before gtk_init.
This commit moves the gtk_init call earlier, to
create_backend, so gdk_display_get_name works again.
https://bugzilla.gnome.org/show_bug.cgi?id=104204