[gtk/wip/chergert/quartz4u: 146/146] macos: track changes for device names
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 146/146] macos: track changes for device names
- Date: Fri, 19 Jun 2020 18:21:05 +0000 (UTC)
commit 1e62d9026d891355c145cfeeca1436d0307ec4d9
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 19 11:15:09 2020 -0700
macos: track changes for device names
gdk/macos/gdkmacosseat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/macos/gdkmacosseat.c b/gdk/macos/gdkmacosseat.c
index b396ec565d..cb3c3747e1 100644
--- a/gdk/macos/gdkmacosseat.c
+++ b/gdk/macos/gdkmacosseat.c
@@ -38,14 +38,14 @@ _gdk_macos_seat_new (GdkMacosDisplay *display)
core_pointer = g_object_new (GDK_TYPE_MACOS_DEVICE,
"name", "Core Pointer",
- "type", GDK_DEVICE_TYPE_MASTER,
+ "type", GDK_DEVICE_TYPE_LOGICAL,
"source", GDK_SOURCE_MOUSE,
"has-cursor", TRUE,
"display", display,
NULL);
core_keyboard = g_object_new (GDK_TYPE_MACOS_DEVICE,
"name", "Core Keyboard",
- "type", GDK_DEVICE_TYPE_MASTER,
+ "type", GDK_DEVICE_TYPE_LOGICAL,
"source", GDK_SOURCE_KEYBOARD,
"has-cursor", FALSE,
"display", display,
@@ -56,7 +56,7 @@ _gdk_macos_seat_new (GdkMacosDisplay *display)
_gdk_device_set_associated_device (GDK_DEVICE (core_keyboard),
GDK_DEVICE (core_pointer));
- seat = gdk_seat_default_new_for_master_pair (core_pointer, core_keyboard);
+ seat = gdk_seat_default_new_for_logical_pair (core_pointer, core_keyboard);
g_object_unref (core_pointer);
g_object_unref (core_keyboard);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]