aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-29 11:23:48 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-29 11:23:48 +0530
commit15b3df3ba1f946c506081c9dd8bf92c754e09c48 (patch)
treecbfe6706176691d35b469d66795b26bc7b5270ff
parentd6a4d6b6048a26e67debf3e64e67f8b82e9046bf (diff)
parent002c7d22043da56a54511b5d234c2e3bd997d119 (diff)
Merge branch 'main' into compromyse
-rw-r--r--client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/client.h b/client.h
index dabea35..389b4f0 100644
--- a/client.h
+++ b/client.h
@@ -358,8 +358,11 @@ static inline void
client_set_tiled(Client *c, uint32_t edges)
{
#ifdef XWAYLAND
- if (client_is_x11(c))
+ if (client_is_x11(c)) {
+ wlr_xwayland_surface_set_maximized(c->surface.xwayland,
+ edges != WLR_EDGE_NONE, edges != WLR_EDGE_NONE);
return;
+ }
#endif
if (wl_resource_get_version(c->surface.xdg->toplevel->resource)
>= XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION) {