aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-07-10 13:53:27 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-07-10 14:03:15 -0400
commit6096d31eed4f066b6e2bc51122f5a1b47afd93f7 (patch)
tree83645654d9939241b3cdd72f148568c364a22e94 /LICENSE
parentinput/libinput: only reset supported options (diff)
downloadsway-6096d31eed4f066b6e2bc51122f5a1b47afd93f7.tar.gz
sway-6096d31eed4f066b6e2bc51122f5a1b47afd93f7.tar.zst
sway-6096d31eed4f066b6e2bc51122f5a1b47afd93f7.zip
config/output: correctly set width/height in apply
In apply_output_config, this sets output->{width,height} using the values in the output box. Previously, they were being set using wlr_output_transformed_resolution, which takes the width and height from the wlr_output and just checks whether they should be swapped based on the transform. This did not take into account the output's scale. wlr_output_effective_resolution could be used instead, which handles both transform and scale. However, the values in the output box have already been processed by wlr_output_effective_resolution so they can just be used directly
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions