diff options
| author | Ryan Dwyer <[email protected]> | 2018-05-13 11:45:11 +1000 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2018-05-13 11:45:11 +1000 | 
| commit | 90e6dfa268461a10d6b95c3a7d74834923392cd6 (patch) | |
| tree | 34ca494ccdc42799010a00f495b1d19193f20fe7 /sway/desktop/xdg_shell_v6.c | |
| parent | 0f43eac5dcd3650ad7ecf84cf42da902170174e8 (diff) | |
| parent | 9d607b72532096e469fdaccf474836c310b629ff (diff) | |
Merge branch 'master' into edge-borders
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
| -rw-r--r-- | sway/desktop/xdg_shell_v6.c | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 8ecb330d..e9051b6c 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -20,7 +20,6 @@ static void popup_destroy(struct sway_view_child *child) {  	}  	struct sway_xdg_popup_v6 *popup = (struct sway_xdg_popup_v6 *)child;  	wl_list_remove(&popup->new_popup.link); -	wl_list_remove(&popup->unmap.link);  	wl_list_remove(&popup->destroy.link);  	free(popup);  } @@ -39,11 +38,6 @@ static void popup_handle_new_popup(struct wl_listener *listener, void *data) {  	popup_create(wlr_popup, popup->child.view);  } -static void popup_handle_unmap(struct wl_listener *listener, void *data) { -	struct sway_xdg_popup_v6 *popup = wl_container_of(listener, popup, unmap); -	view_child_destroy(&popup->child); -} -  static void popup_handle_destroy(struct wl_listener *listener, void *data) {  	struct sway_xdg_popup_v6 *popup = wl_container_of(listener, popup, destroy);  	view_child_destroy(&popup->child); @@ -62,8 +56,6 @@ static struct sway_xdg_popup_v6 *popup_create(  	wl_signal_add(&xdg_surface->events.new_popup, &popup->new_popup);  	popup->new_popup.notify = popup_handle_new_popup; -	wl_signal_add(&xdg_surface->events.unmap, &popup->unmap); -	popup->unmap.notify = popup_handle_unmap;  	wl_signal_add(&xdg_surface->events.destroy, &popup->destroy);  	popup->destroy.notify = popup_handle_destroy; | 
