refactor code
This commit is contained in:
1
xdg.c
1
xdg.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user