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

Unified Diff: ui/base/x/x11_util.cc

Issue 602183003: Do not consider WMII as supporting _NET_ACTIVE_WINDOW (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « ui/base/x/x11_util.h ('k') | ui/views/widget/desktop_aura/x11_desktop_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util.cc
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
index b27ca96978812321d3bc68834d280a2b1d5c3b22..524edb648a7f66fa4c7b08ea5958e6d4af4daff6 100644
--- a/ui/base/x/x11_util.cc
+++ b/ui/base/x/x11_util.cc
@@ -1032,7 +1032,8 @@ bool GetCustomFramePrefDefault() {
wm == WM_NOTION ||
wm == WM_QTILE ||
wm == WM_RATPOISON ||
- wm == WM_STUMPWM)
+ wm == WM_STUMPWM ||
+ wm == WM_WMII)
return false;
// Handle a few more window managers that don't get along well with custom
@@ -1259,6 +1260,8 @@ WindowManagerName GuessWindowManager() {
return WM_RATPOISON;
if (name == "stumpwm")
return WM_STUMPWM;
+ if (name == "wmii")
+ return WM_WMII;
if (name == "Xfwm4")
return WM_XFWM4;
}
« no previous file with comments | « ui/base/x/x11_util.h ('k') | ui/views/widget/desktop_aura/x11_desktop_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698