summaryrefslogtreecommitdiff
path: root/gdk/x11/gdksurface-x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdksurface-x11.h')
-rw-r--r--gdk/x11/gdksurface-x11.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.h b/gdk/x11/gdksurface-x11.h
index eb23474afd..0830407dd0 100644
--- a/gdk/x11/gdksurface-x11.h
+++ b/gdk/x11/gdksurface-x11.h
@@ -59,6 +59,11 @@ struct _GdkX11Surface
int surface_scale;
+ int shadow_left;
+ int shadow_right;
+ int shadow_top;
+ int shadow_bottom;
+
/* Width and height not divided by surface_scale - this matters in the
* corner-case where the window manager assigns us a size that isn't
* a multiple of surface_scale - for example for a maximized window
@@ -67,6 +72,20 @@ struct _GdkX11Surface
int unscaled_width;
int unscaled_height;
+ int last_computed_width;
+ int last_computed_height;
+
+ GdkToplevelLayout *toplevel_layout;
+
+ struct {
+ int configured_width;
+ int configured_height;
+ gboolean configure_pending;
+ gboolean surface_geometry_dirty;
+ } next_layout;
+
+ guint compute_size_source_id;
+
cairo_surface_t *cairo_surface;
int abs_x;