Merge branch 'libinput_scroll_factor' of codeberg.org:hiqqup/dwl into libinput_scroll_factor

This commit is contained in:
hiqqup 2023-12-13 15:10:54 +01:00
commit b2b7ef1e60
2 changed files with 2 additions and 2 deletions

2
dwl.c
View file

@ -1587,7 +1587,7 @@ maximizenotify(struct wl_listener *listener, void *data)
* protocol version
* wlr_xdg_surface_schedule_configure() is used to send an empty reply. */
Client *c = wl_container_of(listener, c, maximize);
if (wl_resource_get_version(c->surface.xdg->resource)
if (wl_resource_get_version(c->surface.xdg->toplevel->resource)
< XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION)
wlr_xdg_surface_schedule_configure(c->surface.xdg);
}