aboutsummaryrefslogtreecommitdiff
path: root/rootston/wl_shell.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-03 10:51:45 -0400
committerGitHub <noreply@github.com>2017-11-03 10:51:45 -0400
commit80caaf8fcc184fbf5839c67cb32e66e8dcd0ab7b (patch)
treec20f7b856e8bb08b40b41bbab3afe6b9a0ff41f2 /rootston/wl_shell.c
parentec11a95d0c945d138cede66b7c6e53e343c82f8f (diff)
parentcf713edc1052943ceaf33fd3b41242b5775fd924 (diff)
Merge pull request #385 from emersion/resize-below-min-size
Fix moving views when resizing below min size
Diffstat (limited to 'rootston/wl_shell.c')
-rw-r--r--rootston/wl_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/wl_shell.c b/rootston/wl_shell.c
index e5366672..e38eb697 100644
--- a/rootston/wl_shell.c
+++ b/rootston/wl_shell.c
@@ -120,7 +120,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
surface->parent);
if (i != -1) {
struct roots_view *parent = desktop->views->items[i];
- view_set_position(view,
+ view_move(view,
parent->x + surface->transient_state->x,
parent->y + surface->transient_state->y);
}