wayland: Remove unused variable from grab implementation
This commit is contained in:
@ -209,11 +209,8 @@ gdk_device_core_grab (GdkDevice *device,
|
|||||||
GdkCursor *cursor,
|
GdkCursor *cursor,
|
||||||
guint32 time_)
|
guint32 time_)
|
||||||
{
|
{
|
||||||
GdkDisplay *display;
|
|
||||||
GdkWaylandDevice *wayland_device = GDK_DEVICE_CORE (device)->device;
|
GdkWaylandDevice *wayland_device = GDK_DEVICE_CORE (device)->device;
|
||||||
|
|
||||||
display = gdk_device_get_display (device);
|
|
||||||
|
|
||||||
if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
|
if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
|
||||||
{
|
{
|
||||||
/* Device is a keyboard */
|
/* Device is a keyboard */
|
||||||
|
|||||||
Reference in New Issue
Block a user