mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
layer-shell: Remove unused event source
This commit is contained in:
parent
28cc1730e8
commit
91752e8285
2 changed files with 0 additions and 5 deletions
|
|
@ -75,7 +75,6 @@ struct wlr_layer_surface_v1 {
|
||||||
|
|
||||||
bool added, configured, mapped, closed;
|
bool added, configured, mapped, closed;
|
||||||
uint32_t configure_serial;
|
uint32_t configure_serial;
|
||||||
struct wl_event_source *configure_idle;
|
|
||||||
uint32_t configure_next_serial;
|
uint32_t configure_next_serial;
|
||||||
struct wl_list configure_list;
|
struct wl_list configure_list;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -168,10 +168,6 @@ static void layer_surface_unmap(struct wlr_layer_surface_v1 *surface) {
|
||||||
|
|
||||||
surface->configured = surface->mapped = false;
|
surface->configured = surface->mapped = false;
|
||||||
surface->configure_serial = 0;
|
surface->configure_serial = 0;
|
||||||
if (surface->configure_idle) {
|
|
||||||
wl_event_source_remove(surface->configure_idle);
|
|
||||||
surface->configure_idle = NULL;
|
|
||||||
}
|
|
||||||
surface->configure_next_serial = 0;
|
surface->configure_next_serial = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue