Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
layer-shell: Remove unused event source
Browse files Browse the repository at this point in the history
  • Loading branch information
agx authored and emersion committed Jul 16, 2019
1 parent 28cc173 commit 91752e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/wlr/types/wlr_layer_shell_v1.h
Expand Up @@ -75,7 +75,6 @@ struct wlr_layer_surface_v1 {

bool added, configured, mapped, closed;
uint32_t configure_serial;
struct wl_event_source *configure_idle;
uint32_t configure_next_serial;
struct wl_list configure_list;

Expand Down
4 changes: 0 additions & 4 deletions types/wlr_layer_shell_v1.c
Expand Up @@ -168,10 +168,6 @@ static void layer_surface_unmap(struct wlr_layer_surface_v1 *surface) {

surface->configured = surface->mapped = false;
surface->configure_serial = 0;
if (surface->configure_idle) {
wl_event_source_remove(surface->configure_idle);
surface->configure_idle = NULL;
}
surface->configure_next_serial = 0;
}

Expand Down

0 comments on commit 91752e8

Please sign in to comment.