summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-06-18 19:22:20 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-06-18 19:22:20 +0100
commit1c856a208fdc9b435be60973e9c465f19b532863 (patch)
treeac979f50a9f429a10928e0066ae1be312af8c23b /gdk/gdkevents.c
parentc7916c8e480f08c03f7ce9f77cbba87f2c9d949b (diff)
downloadgtk+-1c856a208fdc9b435be60973e9c465f19b532863.tar.gz
Rename master and slave device
We already use the "logical/virtual" and "physical" names in the documentation, there's no reason to use loaded terms just because X11 uses them.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index b3e379ebe2..c9ad0df308 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1205,9 +1205,9 @@ gdk_event_get_device (GdkEvent *event)
* gdk_event_get_source_device:
* @event: a #GdkEvent
*
- * This function returns the hardware (slave) #GdkDevice that has
- * triggered the event, falling back to the virtual (master) device
- * (as in gdk_event_get_device()) if the event wasn’t caused by
+ * This function returns the physical #GdkDevice that has triggered
+ * the event, falling back to the logical device, as returned by
+ * gdk_event_get_device(), if the event wasn’t caused by
* interaction with a hardware device. This may happen for example
* in synthesized crossing events after a #GdkSurface updates its
* geometry or a grab is acquired/released.