diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-10 14:10:09 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-12 10:45:54 +1000 |
commit | b4a0363d1721b2ad2d5afb65764ecb575bd55fa4 (patch) | |
tree | f6ec316550cd113040e82a7f0cee0429fff349e5 /sway/desktop/xwayland.c | |
parent | Merge pull request #2452 from janza/position-command-fix-args (diff) | |
download | sway-b4a0363d1721b2ad2d5afb65764ecb575bd55fa4.tar.gz sway-b4a0363d1721b2ad2d5afb65764ecb575bd55fa4.tar.zst sway-b4a0363d1721b2ad2d5afb65764ecb575bd55fa4.zip |
Implement resizing tiled containers via cursor
* The OP_RESIZE seat operation has been renamed to OP_RESIZE_FLOATING,
and OP_RESIZE_TILING has been introduced.
* Similar to the above, seat_begin_resize and handle_resize_motion have
been renamed and tiling variants introduced.
* resize.c's resize_tiled has to be used, so container_resize_tiled has
been introduced in resize.c to allow external code to call it.
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 393185bd..5e8afa65 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -432,7 +432,7 @@ static void handle_request_resize(struct wl_listener *listener, void *data) { | |||
432 | } | 432 | } |
433 | struct wlr_xwayland_resize_event *e = data; | 433 | struct wlr_xwayland_resize_event *e = data; |
434 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 434 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
435 | seat_begin_resize(seat, view->swayc, seat->last_button, e->edges); | 435 | seat_begin_resize_floating(seat, view->swayc, seat->last_button, e->edges); |
436 | } | 436 | } |
437 | 437 | ||
438 | static void handle_set_title(struct wl_listener *listener, void *data) { | 438 | static void handle_set_title(struct wl_listener *listener, void *data) { |