refactor code

This commit is contained in:
DL
2025-07-10 09:57:29 +02:00
parent 9cc2408dc8
commit 2cc5bb045b
2 changed files with 1 additions and 2 deletions

1
xdg.c
View File

@@ -75,7 +75,6 @@ static void xdg_toplevel_commit(struct wl_listener *listener, void *data)
if (serial > 0 && serial == toplevel->xdg_surface->current.configure_serial)
{
wlr_log(WLR_INFO, "xdg_toplevel_commit: wl_event_source_remove");
wl_event_source_remove(toplevel->configuration_timeout);
toplevel->configuration_serial = 0;
toplevel->configuration_timeout = NULL;