wayland: Add parentheses around logical AND

As "suggested" by gcc and -Werror. Introduced by commit cb40049ec.
This commit is contained in:
Carlos Garnacho 2018-03-16 16:54:11 +01:00
parent cb40049ec1
commit 817a76a7f5

View File

@ -771,8 +771,8 @@ meta_wayland_keyboard_update (MetaWaylandKeyboard *keyboard,
* key events (incl. modifiers), handling those additionally will result * key events (incl. modifiers), handling those additionally will result
* in doubly-pressed keys. * in doubly-pressed keys.
*/ */
if (event->flags & if ((event->flags &
(CLUTTER_EVENT_FLAG_SYNTHETIC | CLUTTER_EVENT_FLAG_INPUT_METHOD) != 0) (CLUTTER_EVENT_FLAG_SYNTHETIC | CLUTTER_EVENT_FLAG_INPUT_METHOD)) != 0)
return; return;
/* If we get a key event but still have pending modifier state /* If we get a key event but still have pending modifier state