aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-11 16:56:05 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-11 16:56:05 +1000
commitd4e80cf301d77f69370cc81657c433990986cfa6 (patch)
tree189c14237b1ce6f24af40d3e8bbc3e776e5f19c6 /sway/desktop
parentMerge pull request #2617 from wmww/cursor-enter-on-focus-change (diff)
downloadsway-d4e80cf301d77f69370cc81657c433990986cfa6.tar.gz
sway-d4e80cf301d77f69370cc81657c433990986cfa6.tar.zst
sway-d4e80cf301d77f69370cc81657c433990986cfa6.zip
Rename OP_MOVE to OP_MOVE_FLOATING
In preparation for introducing OP_MOVE_TILING.
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/xdg_shell.c2
-rw-r--r--sway/desktop/xdg_shell_v6.c2
-rw-r--r--sway/desktop/xwayland.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
index b9ca396a..00448be7 100644
--- a/sway/desktop/xdg_shell.c
+++ b/sway/desktop/xdg_shell.c
@@ -333,7 +333,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) {
333 struct wlr_xdg_toplevel_move_event *e = data; 333 struct wlr_xdg_toplevel_move_event *e = data;
334 struct sway_seat *seat = e->seat->seat->data; 334 struct sway_seat *seat = e->seat->seat->data;
335 if (e->serial == seat->last_button_serial) { 335 if (e->serial == seat->last_button_serial) {
336 seat_begin_move(seat, view->container, seat->last_button); 336 seat_begin_move_floating(seat, view->container, seat->last_button);
337 } 337 }
338} 338}
339 339
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 0c121adc..d2c9a68b 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -330,7 +330,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) {
330 struct wlr_xdg_toplevel_v6_move_event *e = data; 330 struct wlr_xdg_toplevel_v6_move_event *e = data;
331 struct sway_seat *seat = e->seat->seat->data; 331 struct sway_seat *seat = e->seat->seat->data;
332 if (e->serial == seat->last_button_serial) { 332 if (e->serial == seat->last_button_serial) {
333 seat_begin_move(seat, view->container, seat->last_button); 333 seat_begin_move_floating(seat, view->container, seat->last_button);
334 } 334 }
335} 335}
336 336
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 6761b6bc..3619f202 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -449,7 +449,7 @@ static void handle_request_move(struct wl_listener *listener, void *data) {
449 return; 449 return;
450 } 450 }
451 struct sway_seat *seat = input_manager_current_seat(input_manager); 451 struct sway_seat *seat = input_manager_current_seat(input_manager);
452 seat_begin_move(seat, view->container, seat->last_button); 452 seat_begin_move_floating(seat, view->container, seat->last_button);
453} 453}
454 454
455static void handle_request_resize(struct wl_listener *listener, void *data) { 455static void handle_request_resize(struct wl_listener *listener, void *data) {