diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index e6e680d3..b06c7c0e 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -112,10 +112,12 @@ void apply_output_config(struct output_config *oc, swayc_t *output) { | |||
112 | if (oc && oc->scale > 0) { | 112 | if (oc && oc->scale > 0) { |
113 | sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale); | 113 | sway_log(L_DEBUG, "Set %s scale to %d", oc->name, oc->scale); |
114 | wlr_output_set_scale(wlr_output, oc->scale); | 114 | wlr_output_set_scale(wlr_output, oc->scale); |
115 | wl_signal_emit(&output->sway_output->events.scale, output->sway_output); | ||
115 | } | 116 | } |
116 | if (oc && oc->transform >= 0) { | 117 | if (oc && oc->transform >= 0) { |
117 | 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); |
118 | wlr_output_transform(wlr_output, oc->transform); | 119 | wlr_output_transform(wlr_output, oc->transform); |
120 | wl_signal_emit(&output->sway_output->events.transform, output->sway_output); | ||
119 | } | 121 | } |
120 | 122 | ||
121 | // Find position for it | 123 | // Find position for it |