Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: components/exo/wayland/server.cc

Issue 1559163002: Clean up event flags a bit: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/exo/wayland/server.cc
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
index f0f2a3c586c6cf77efa205b776f8f2229e09a4d5..a88d37799351167b8d012eaaf2b524efecae3d45 100644
--- a/components/exo/wayland/server.cc
+++ b/components/exo/wayland/server.cc
@@ -1201,13 +1201,13 @@ class WaylandKeyboardDelegate : public KeyboardDelegate {
const char* xkb_name;
} modifiers[] = {
{ui::EF_SHIFT_DOWN, XKB_MOD_NAME_SHIFT},
- {ui::EF_CAPS_LOCK_DOWN, XKB_MOD_NAME_CAPS},
{ui::EF_CONTROL_DOWN, XKB_MOD_NAME_CTRL},
{ui::EF_ALT_DOWN, XKB_MOD_NAME_ALT},
- {ui::EF_NUM_LOCK_DOWN, XKB_MOD_NAME_NUM},
- {ui::EF_MOD3_DOWN, "Mod3"},
{ui::EF_COMMAND_DOWN, XKB_MOD_NAME_LOGO},
{ui::EF_ALTGR_DOWN, "Mod5"},
+ {ui::EF_MOD3_DOWN, "Mod3"},
+ {ui::EF_NUM_LOCK_ON, XKB_MOD_NAME_NUM},
+ {ui::EF_CAPS_LOCK_ON, XKB_MOD_NAME_CAPS},
};
uint32_t xkb_modifiers = 0;
for (auto modifier : modifiers) {

Powered by Google App Engine
This is Rietveld 408576698