diff options
Diffstat (limited to 'sway/config/output.c')
-rw-r--r-- | sway/config/output.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 6371763f..8d946386 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -113,13 +113,10 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { | |||
113 | if (oc && oc->scale > 0) { | 113 | if (oc && oc->scale > 0) { |
114 | sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale); | 114 | sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale); |
115 | wlr_output_set_scale(wlr_output, oc->scale); | 115 | wlr_output_set_scale(wlr_output, oc->scale); |
116 | wl_signal_emit(&output->sway_output->events.scale, output->sway_output); | ||
117 | } | 116 | } |
118 | if (oc && oc->transform >= 0) { | 117 | if (oc && oc->transform >= 0) { |
119 | sway_log(L_DEBUG, "Set %s transform to %d", oc->name, oc->transform); | 118 | sway_log(L_DEBUG, "Set %s transform to %d", oc->name, oc->transform); |
120 | wlr_output_transform(wlr_output, oc->transform); | 119 | wlr_output_set_transform(wlr_output, oc->transform); |
121 | wl_signal_emit(&output->sway_output->events.transform, | ||
122 | output->sway_output); | ||
123 | } | 120 | } |
124 | 121 | ||
125 | // Find position for it | 122 | // Find position for it |