aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-09-01 08:45:19 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-09-05 18:01:43 +1000
commit93ff7879f16c5e31c18a37e87b23ee5dcb5a584b (patch)
tree594a58124652ebdddc3076dcb060774e194e2069 /sway/desktop
parent7f40b928c7ec5cb6e1296f7527392731ca2aa84a (diff)
downloadsway-93ff7879f16c5e31c18a37e87b23ee5dcb5a584b.tar.xz
Fix output position issue
Looks like the output dimensions need to be set when arranging rather than when a mode is set. Fixes an issue with position of fullscreen views.
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index d9c7dbe3..7e9f7b7e 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -505,10 +505,6 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
static void handle_mode(struct wl_listener *listener, void *data) {
struct sway_output *output = wl_container_of(listener, output, mode);
- output->lx = output->wlr_output->lx;
- output->ly = output->wlr_output->ly;
- wlr_output_effective_resolution(output->wlr_output,
- &output->width, &output->height);
arrange_layers(output);
arrange_output(output);
transaction_commit_dirty();