diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-12 22:17:57 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-12 22:21:32 -0600 | 
| commit | fa660fb61e9c883901c43afaf3056af9a8b4736e (patch) | |
| tree | 910d1f140961acbcf7fef4b68f6975f2809664ae /dwl.c | |
| parent | 9a84789ff1ba5cac059e536d57a849917ab360b6 (diff) | |
check toplevel resources
it's just a aesthetic change
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -1577,7 +1577,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);  }  | 
