diff options
| author | Guido Günther <agx@sigxcpu.org> | 2019-07-16 14:21:45 +0200 | 
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2019-07-16 17:38:11 +0300 | 
| commit | 91752e8285c6ccf70f12702ea34fa18a55bea4c4 (patch) | |
| tree | f256858e92ae2ec2ad590a4dfabd63d0f45ab156 | |
| parent | 28cc1730e827b919ecef9276af32655ec5e69043 (diff) | |
| download | wlroots-91752e8285c6ccf70f12702ea34fa18a55bea4c4.tar.xz | |
layer-shell: Remove unused event source
| -rw-r--r-- | include/wlr/types/wlr_layer_shell_v1.h | 1 | ||||
| -rw-r--r-- | types/wlr_layer_shell_v1.c | 4 | 
2 files changed, 0 insertions, 5 deletions
diff --git a/include/wlr/types/wlr_layer_shell_v1.h b/include/wlr/types/wlr_layer_shell_v1.h index 838b2e83..fe0175f2 100644 --- a/include/wlr/types/wlr_layer_shell_v1.h +++ b/include/wlr/types/wlr_layer_shell_v1.h @@ -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; diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c index aa959d89..4facc286 100644 --- a/types/wlr_layer_shell_v1.c +++ b/types/wlr_layer_shell_v1.c @@ -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;  }  | 
