[gtk+/wip/matthiasc/kill-device-manager: 8/17] Don't mention GdkDeviceManager in docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/kill-device-manager: 8/17] Don't mention GdkDeviceManager in docs
- Date: Fri, 24 Nov 2017 17:27:40 +0000 (UTC)
commit aa21ee0b3ef6c3a5d534a4df7f86fcfa14a96797
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 23 16:23:41 2017 -0500
Don't mention GdkDeviceManager in docs
It is going away.
gdk/gdkdevice.c | 2 +-
gdk/gdkdisplay.c | 21 +++++++++------------
2 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 4a2aee9..c22de2a 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -1375,7 +1375,7 @@ get_native_grab_event_mask (GdkEventMask grab_mask)
* gdk_device_grab:
* @device: a #GdkDevice. To get the device you can use gtk_get_current_event_device()
* or gdk_event_get_device() if the grab is in reaction to an event. Also, you can use
- * gdk_device_manager_get_client_pointer() but only in code that isn’t triggered by a
+ * gdk_seat_get_pointer() but only in code that isn’t triggered by a
* #GdkEvent and there aren’t other means to get a meaningful #GdkDevice to operate on.
* @window: the #GdkWindow which will own the grab (the grab window)
* @grab_ownership: specifies the grab ownership.
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 630815d..f40b1e2 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -50,20 +50,17 @@
*
* - To manage and provide information about input devices (pointers and keyboards)
*
- * - To manage and provide information about the available #GdkMonitors
- *
- * GdkDisplay objects are the GDK representation of an X Display,
- * which can be described as a workstation consisting of
- * a keyboard, a pointing device (such as a mouse) and one or more
- * screens.
- * It is used to open and keep track of various GdkMonitor objects
- * currently instantiated by the application. It is also used to
- * access the keyboard(s) and mouse pointer(s) of the display.
- *
- * Most of the input device handling has been factored out into
- * the separate #GdkDeviceManager object. Every display has a
- * device manager, which you can obtain using
- * gdk_display_get_device_manager().
+ * - To manage and provide information about output devices (monitors)
+ *
+ * GdkDisplay objects are the GDK representation of a workstation, consisting
+ * of a keyboard, a pointing device (such as a mouse) and one or more screens.
+ *
+ * Most of the input device handling has been factored out into separate #GdkSeat
+ * objects. Every display has a one or more seats, which can be accessed with
+ * gdk_display_get_default_seat() and gdk_display_list_seats().
+ *
+ * Output devices are represented by #GdkMonitor objects, which can be accessed
+ * with gdk-display_get_monitor() and similar APIs.
*/
enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]