]> git.mdlowis.com Git - proto/labwc.git/commit
output: ignore wlr_output_state.mode/custom_mode except for client request
authorJohn Lindgren <john@jlindgren.net>
Wed, 1 Jan 2025 10:18:41 +0000 (05:18 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 1 Jan 2025 16:09:27 +0000 (16:09 +0000)
commit398ca6f267b80bd13ad783bd9800f16e9c483f87
tree27cedcde9325b12cd8e967d0bc5aa2ee323f6afd
parent96b2ad569d95eea0d4bcc1891033c97e4d8002eb
output: ignore wlr_output_state.mode/custom_mode except for client request

The wlr_output_state passed to the new_output signal sometimes has a
non-preferred mode set, which we were ignoring before 03be489eb973.
Ignore it again to prevent the wrong mode from being set.
src/output.c