Commit 4a01cd06 authored by yhanada's avatar yhanada Committed by Commit bot

exo: Fix logic in |IsPhysicalKeyboardEnabled()|.

BUG=670247
TEST=Manual test by checking Configuration.hardKeyboardHidden when
     entering maximize mode.

Review-Url: https://codereview.chromium.org/2590893002
Cr-Commit-Position: refs/heads/master@{#439802}
parent 2e656635
...@@ -76,7 +76,7 @@ bool ConsumedByIme(Surface* focus, const ui::KeyEvent* event) { ...@@ -76,7 +76,7 @@ bool ConsumedByIme(Surface* focus, const ui::KeyEvent* event) {
bool IsPhysicalKeyboardEnabled() { bool IsPhysicalKeyboardEnabled() {
// The internal keyboard is enabled if maximize mode is not enabled. // The internal keyboard is enabled if maximize mode is not enabled.
if (WMHelper::GetInstance()->IsMaximizeModeWindowManagerEnabled()) if (!WMHelper::GetInstance()->IsMaximizeModeWindowManagerEnabled())
return true; return true;
for (auto& keyboard : for (auto& keyboard :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment