diff --git a/digesting_libdecor.c b/digesting_libdecor.c index 8e6a44c..358f8c8 100755 --- a/digesting_libdecor.c +++ b/digesting_libdecor.c @@ -2429,6 +2429,7 @@ draw_title_bar(void){ ctx.content_limits.max_width < ctx.content_limits.min_width){ ctx.content_limits.max_width = ctx.content_limits.min_width; } + W = ctx.frame_content_width; H = ctx.frame_content_height; if (W < ctx.content_limits.min_width){ diff --git a/digesting_libdecor.h b/digesting_libdecor.h index 27455c2..74d9cc9 100644 --- a/digesting_libdecor.h +++ b/digesting_libdecor.h @@ -284,6 +284,7 @@ void libdecor_frame_set_fullscreen(struct wl_output *output); void libdecor_frame_unset_fullscreen(void); void libdecor_frame_map(void); + bool libdecor_configuration_get_content_size(struct libdecor_configuration *configuration, int *width, int *height); // #include "libdecor-cairo-blur.h"