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

Unified Diff: components/exo/keyboard.cc

Issue 2590893002: exo: Fix logic in |IsPhysicalKeyboardEnabled()|. (Closed)
Patch Set: fix commit message. Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/keyboard.cc
diff --git a/components/exo/keyboard.cc b/components/exo/keyboard.cc
index b6882f80aa517103df433c6a4d6a66143f3f1cc2..c651a5672bacc8a045a3c903b7f69f1dfad43077 100644
--- a/components/exo/keyboard.cc
+++ b/components/exo/keyboard.cc
@@ -76,7 +76,7 @@ bool ConsumedByIme(Surface* focus, const ui::KeyEvent* event) {
bool IsPhysicalKeyboardEnabled() {
// The internal keyboard is enabled if maximize mode is not enabled.
- if (WMHelper::GetInstance()->IsMaximizeModeWindowManagerEnabled())
+ if (!WMHelper::GetInstance()->IsMaximizeModeWindowManagerEnabled())
return true;
for (auto& keyboard :
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698