mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
Fix backwards bit banging
This commit is contained in:
parent
c8f97a3a2c
commit
8c0929cfb3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ static void wl_output_send_to_resource(struct wl_resource *resource) {
|
||||||
if (version >= WL_OUTPUT_MODE_SINCE_VERSION) {
|
if (version >= WL_OUTPUT_MODE_SINCE_VERSION) {
|
||||||
struct wlr_output_mode *mode;
|
struct wlr_output_mode *mode;
|
||||||
wl_list_for_each(mode, &output->modes, link) {
|
wl_list_for_each(mode, &output->modes, link) {
|
||||||
uint32_t flags = mode->flags & ~WL_OUTPUT_MODE_PREFERRED;
|
uint32_t flags = mode->flags & WL_OUTPUT_MODE_PREFERRED;
|
||||||
if (output->current_mode == mode) {
|
if (output->current_mode == mode) {
|
||||||
flags |= WL_OUTPUT_MODE_CURRENT;
|
flags |= WL_OUTPUT_MODE_CURRENT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue