diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-25 23:27:12 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-01 08:51:59 -0400 |
commit | 8c0929cfb3e97a71a00210fc299fb7c65703e053 (patch) | |
tree | e590359140f22e8924b7f7a06032e1bdd384b7ee | |
parent | c8f97a3a2c43948147e4225e09437884a848fa9d (diff) |
Fix backwards bit banging
-rw-r--r-- | types/wlr_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c index 4bc9d6aa..7a56eab6 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -28,7 +28,7 @@ static void wl_output_send_to_resource(struct wl_resource *resource) { if (version >= WL_OUTPUT_MODE_SINCE_VERSION) { struct wlr_output_mode *mode; 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) { flags |= WL_OUTPUT_MODE_CURRENT; } |