diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:49:38 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:49:38 -0400 |
commit | 0828c772514a85080c53ecade0b8b400314d5b03 (patch) | |
tree | 4e7fcb26ea1ebda57128eeb0ba4f9c79c7afbdb4 /sway/desktop | |
parent | rename seat functions (diff) | |
download | sway-0828c772514a85080c53ecade0b8b400314d5b03.tar.gz sway-0828c772514a85080c53ecade0b8b400314d5b03.tar.zst sway-0828c772514a85080c53ecade0b8b400314d5b03.zip |
rename input-manager functions
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 2 | ||||
-rw-r--r-- | sway/desktop/wl_shell.c | 2 | ||||
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 2 | ||||
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 86b023cb..ea3938a4 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -370,7 +370,7 @@ void handle_new_output(struct wl_listener *listener, void *data) { | |||
370 | wl_list_init(&output->layers[i]); | 370 | wl_list_init(&output->layers[i]); |
371 | } | 371 | } |
372 | 372 | ||
373 | sway_input_manager_configure_xcursor(input_manager); | 373 | input_manager_configure_xcursor(input_manager); |
374 | 374 | ||
375 | wl_signal_add(&wlr_output->events.destroy, &output->destroy); | 375 | wl_signal_add(&wlr_output->events.destroy, &output->destroy); |
376 | output->destroy.notify = handle_destroy; | 376 | output->destroy.notify = handle_destroy; |
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c index 3e275f2b..c44fcf27 100644 --- a/sway/desktop/wl_shell.c +++ b/sway/desktop/wl_shell.c | |||
@@ -138,5 +138,5 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) { | |||
138 | sway_view->swayc = cont; | 138 | sway_view->swayc = cont; |
139 | 139 | ||
140 | arrange_windows(cont->parent, -1, -1); | 140 | arrange_windows(cont->parent, -1, -1); |
141 | sway_input_manager_set_focus(input_manager, cont); | 141 | input_manager_set_focus(input_manager, cont); |
142 | } | 142 | } |
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index 286d52cc..cffe83fb 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c | |||
@@ -102,7 +102,7 @@ static void handle_map(struct wl_listener *listener, void *data) { | |||
102 | struct sway_container *cont = container_view_create(focus, view); | 102 | struct sway_container *cont = container_view_create(focus, view); |
103 | view->swayc = cont; | 103 | view->swayc = cont; |
104 | arrange_windows(cont->parent, -1, -1); | 104 | arrange_windows(cont->parent, -1, -1); |
105 | sway_input_manager_set_focus(input_manager, cont); | 105 | input_manager_set_focus(input_manager, cont); |
106 | 106 | ||
107 | view_damage_whole(sway_surface->view); | 107 | view_damage_whole(sway_surface->view); |
108 | } | 108 | } |
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 8fb6cb52..17f827d9 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -148,7 +148,7 @@ static void handle_map(struct wl_listener *listener, void *data) { | |||
148 | struct sway_container *cont = container_view_create(focus, view); | 148 | struct sway_container *cont = container_view_create(focus, view); |
149 | view->swayc = cont; | 149 | view->swayc = cont; |
150 | arrange_windows(cont->parent, -1, -1); | 150 | arrange_windows(cont->parent, -1, -1); |
151 | sway_input_manager_set_focus(input_manager, cont); | 151 | input_manager_set_focus(input_manager, cont); |
152 | } | 152 | } |
153 | 153 | ||
154 | view_damage_whole(sway_surface->view); | 154 | view_damage_whole(sway_surface->view); |