remove comment

This commit is contained in:
wochap 2024-04-28 13:52:32 -05:00
parent f20337ee9a
commit 1fd81b4d1f
No known key found for this signature in database
GPG Key ID: FE4CF844E73095E1

8
dwl.c
View File

@ -1690,14 +1690,6 @@ maximizenotify(struct wl_listener *listener, void *data)
void void
minimizenotify(struct wl_listener *listener, void *data) minimizenotify(struct wl_listener *listener, void *data)
{ {
/* This event is raised when a client would like to maximize itself,
* typically because the user clicked on the maximize button on
* client-side decorations. dwl doesn't support maximization, but
* to conform to xdg-shell protocol we still must send a configure.
* Since xdg-shell protocol v5 we should ignore request of unsupported
* capabilities, just schedule a empty configure when the client uses <5
* protocol version
* wlr_xdg_surface_schedule_configure() is used to send an empty reply. */
Client *c = wl_container_of(listener, c, minimize); Client *c = wl_container_of(listener, c, minimize);
setminimized(c, !c->isminimized); setminimized(c, !c->isminimized);
if (wl_resource_get_version(c->surface.xdg->toplevel->resource) if (wl_resource_get_version(c->surface.xdg->toplevel->resource)