Index: ash/wm/default_state.cc |
diff --git a/ash/wm/default_state.cc b/ash/wm/default_state.cc |
index 3364d298dde9131b18c49ea3738b699e4dd7ee83..61a3dc6b09120e7fcb0529e2ee51659898c6b010 100644 |
--- a/ash/wm/default_state.cc |
+++ b/ash/wm/default_state.cc |
@@ -422,10 +422,8 @@ bool DefaultState::ProcessWorkspaceEvents(WindowState* window_state, |
// adjusted to have minimum visibility, because they are positioned by the |
// user and user should always be able to interact with them. Other |
// windows are positioned programmatically. |
- if (window_state->window()->type() != ui::wm::WINDOW_TYPE_NORMAL && |
- window_state->window()->type() != ui::wm::WINDOW_TYPE_PANEL) { |
+ if (!window_state->IsUserPositionable()) |
return true; |
- } |
// Use entire display instead of workarea because the workarea can |
// be further shrunk by the docked area. The logic ensures 30% |