aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-08 17:51:42 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-08 17:51:42 -0500
commit31fa6600a174d44be69d66c16dfefd80583409a1 (patch)
tree193033faa5fd397282ab20dce3f2a60957817b02 /client.h
parentdc7709a00edebe323d8e192ff48f14f72f1e2142 (diff)
replace wlr_xwayland_surface_size_hints with xcb_size_hints_t
Diffstat (limited to 'client.h')
-rw-r--r--client.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/client.h b/client.h
index db043d2..1796ef0 100644
--- a/client.h
+++ b/client.h
@@ -97,7 +97,7 @@ client_is_float_type(Client *c)
#ifdef XWAYLAND
if (client_is_x11(c)) {
struct wlr_xwayland_surface *surface = c->surface.xwayland;
- struct wlr_xwayland_surface_size_hints *size_hints;
+ xcb_size_hints_t *size_hints;
if (surface->modal)
return 1;
@@ -208,8 +208,7 @@ client_min_size(Client *c, int *width, int *height)
struct wlr_xdg_toplevel_state *state;
#ifdef XWAYLAND
if (client_is_x11(c)) {
- struct wlr_xwayland_surface_size_hints *size_hints;
- size_hints = c->surface.xwayland->size_hints;
+ xcb_size_hints_t *size_hints = c->surface.xwayland->size_hints;
*width = size_hints->min_width;
*height = size_hints->min_height;
return;