mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
wayland: Add parentheses around logical AND
As "suggested" by gcc and -Werror. Introduced by commit cb40049ec
.
This commit is contained in:
parent
cb40049ec1
commit
817a76a7f5
@ -771,8 +771,8 @@ meta_wayland_keyboard_update (MetaWaylandKeyboard *keyboard,
|
||||
* key events (incl. modifiers), handling those additionally will result
|
||||
* in doubly-pressed keys.
|
||||
*/
|
||||
if (event->flags &
|
||||
(CLUTTER_EVENT_FLAG_SYNTHETIC | CLUTTER_EVENT_FLAG_INPUT_METHOD) != 0)
|
||||
if ((event->flags &
|
||||
(CLUTTER_EVENT_FLAG_SYNTHETIC | CLUTTER_EVENT_FLAG_INPUT_METHOD)) != 0)
|
||||
return;
|
||||
|
||||
/* If we get a key event but still have pending modifier state
|
||||
|
Loading…
Reference in New Issue
Block a user