summaryrefslogtreecommitdiff
path: root/chromium/components/exo/sub_surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/exo/sub_surface.cc')
-rw-r--r--chromium/components/exo/sub_surface.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/components/exo/sub_surface.cc b/chromium/components/exo/sub_surface.cc
index b18beb319e5..8c81ed507fe 100644
--- a/chromium/components/exo/sub_surface.cc
+++ b/chromium/components/exo/sub_surface.cc
@@ -8,6 +8,7 @@
#include "base/trace_event/trace_event.h"
#include "base/trace_event/traced_value.h"
#include "components/exo/surface.h"
+#include "ui/aura/client/aura_constants.h"
namespace exo {
@@ -113,6 +114,11 @@ bool SubSurface::IsInputEnabled(Surface* surface) const {
return !parent_ || parent_->IsInputEnabled(surface);
}
+void SubSurface::OnSetParent(Surface* parent, const gfx::Point&) {
+ if (parent->window()->GetProperty(aura::client::kSkipImeProcessing))
+ surface_->window()->SetProperty(aura::client::kSkipImeProcessing, true);
+}
+
////////////////////////////////////////////////////////////////////////////////
// SurfaceObserver overrides: