summaryrefslogtreecommitdiff
path: root/gdk/gdkmonitor.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-01 14:02:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-11-01 14:17:20 -0400
commitf2655b055d6d1e7b81293aad7ecbcc0956857164 (patch)
tree5e63f04c8d8db2b2bef12545341a9d8cd89d3e51 /gdk/gdkmonitor.h
parent2d31a5499a5484e72dc30fe573d5934d8560361f (diff)
downloadgtk+-f2655b055d6d1e7b81293aad7ecbcc0956857164.tar.gz
monitor: Add a ::valid property
This is slightly more useful than the existing ::invalidate signal, since it can be queried at any time.
Diffstat (limited to 'gdk/gdkmonitor.h')
-rw-r--r--gdk/gdkmonitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkmonitor.h b/gdk/gdkmonitor.h
index a12bfa8ac0..887bbbd40c 100644
--- a/gdk/gdkmonitor.h
+++ b/gdk/gdkmonitor.h
@@ -89,6 +89,8 @@ GDK_AVAILABLE_IN_3_22
GdkSubpixelLayout gdk_monitor_get_subpixel_layout (GdkMonitor *monitor);
GDK_AVAILABLE_IN_3_22
gboolean gdk_monitor_is_primary (GdkMonitor *monitor);
+GDK_AVAILABLE_IN_3_94
+gboolean gdk_monitor_is_valid (GdkMonitor *monitor);
G_END_DECLS