aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-12 19:45:58 +0100
committeremersion <contact@emersion.fr>2018-02-12 19:52:47 +0100
commit36ead80cd19b4c1773b894750ecf7fcec63f9b9b (patch)
treef4b0bc12eefbff1fb0c60cb1c4403d915c93e7ef /rootston
parent10ecf871f27ddd7170b6fb9ee7bd055b9cb3423c (diff)
Make wlr_signal_emit_safe private
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 753a85e5..68da45e0 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -16,7 +16,6 @@
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell_v6.h>
#include <wlr/util/log.h>
-#include <wlr/util/signal.h>
#include "rootston/server.h"
#include "rootston/seat.h"
#include "rootston/xcursor.h"
@@ -384,7 +383,7 @@ struct roots_subsurface *subsurface_create(struct roots_view *view,
void view_finish(struct roots_view *view) {
view_damage_whole(view);
- wlr_signal_emit_safe(&view->events.destroy, view);
+ wl_signal_emit(&view->events.destroy, view);
wl_list_remove(&view->new_subsurface.link);