summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplayprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-11-10 15:23:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-11-10 15:23:14 -0500
commitd9b02ea4a3e3201cc7c98b01164536eac5f55532 (patch)
treecf1e11367773291e7476f7516370424493fd53b7 /gdk/gdkdisplayprivate.h
parent5c5c8bdd812abf1e6b4ed6285b0d30451b30f413 (diff)
downloadgtk+-d9b02ea4a3e3201cc7c98b01164536eac5f55532.tar.gz
gdk: Make debug-updates a per-display setting
Add private API to set this per-display, and make the existing gdk_window_set_debug_update function set a global default.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r--gdk/gdkdisplayprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h
index 2f026fe09c..14d8ea6583 100644
--- a/gdk/gdkdisplayprivate.h
+++ b/gdk/gdkdisplayprivate.h
@@ -121,6 +121,9 @@ struct _GdkDisplay
guint has_gl_extension_texture_non_power_of_two : 1;
guint has_gl_extension_texture_rectangle : 1;
+ guint debug_updates : 1;
+ guint debug_updates_set : 1;
+
GdkRenderingMode rendering_mode;
};