| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/views/widget/desktop_aura/x11_window_event_filter.h" | 5 #include "ui/views/widget/desktop_aura/x11_window_event_filter.h" |
| 6 | 6 |
| 7 #include <X11/extensions/XInput.h> | 7 #include <X11/extensions/XInput.h> |
| 8 #include <X11/extensions/XInput2.h> | 8 #include <X11/extensions/XInput2.h> |
| 9 #include <X11/Xatom.h> | 9 #include <X11/Xatom.h> |
| 10 #include <X11/Xlib.h> | 10 #include <X11/Xlib.h> |
| 11 | 11 |
| 12 #include "base/message_loop/message_pump_aurax11.h" | 12 #include "base/message_pump_aurax11.h" |
| 13 #include "ui/aura/root_window.h" | 13 #include "ui/aura/root_window.h" |
| 14 #include "ui/aura/window_delegate.h" | 14 #include "ui/aura/window_delegate.h" |
| 15 #include "ui/base/events/event.h" | 15 #include "ui/base/events/event.h" |
| 16 #include "ui/base/events/event_utils.h" | 16 #include "ui/base/events/event_utils.h" |
| 17 #include "ui/base/hit_test.h" | 17 #include "ui/base/hit_test.h" |
| 18 #include "ui/views/widget/desktop_aura/desktop_activation_client.h" | 18 #include "ui/views/widget/desktop_aura/desktop_activation_client.h" |
| 19 #include "ui/views/widget/native_widget_aura.h" | 19 #include "ui/views/widget/native_widget_aura.h" |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| 22 | 22 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 event.xclient.data.l[4] = 0; | 167 event.xclient.data.l[4] = 0; |
| 168 | 168 |
| 169 XSendEvent(xdisplay_, x_root_window_, False, | 169 XSendEvent(xdisplay_, x_root_window_, False, |
| 170 SubstructureRedirectMask | SubstructureNotifyMask, | 170 SubstructureRedirectMask | SubstructureNotifyMask, |
| 171 &event); | 171 &event); |
| 172 | 172 |
| 173 return true; | 173 return true; |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace views | 176 } // namespace views |
| OLD | NEW |