| Summary: |
can't close the window if touch the close window button(on the top-right) in multi-touch mode |
| Product: |
xorg
|
Reporter: |
Haibo Chen <haibo.chen> |
| Component: |
Server/DDX/Xorg | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
normal
|
|
|
| Priority: |
medium
|
CC: |
peter.hutterer
|
| Version: |
git | |
|
| Hardware: |
ARM | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
When matchbox-window-manger(Version 1.2) create a window, there is a close window button on the top-right of this new window which seems like "X". If we use a mouse, and click this "X" close window button, the window can be closed. But when we use multi-touch screen, and touch this "X" close window button, this window can't be closed, and nothing changed on the screen. By the way, multi-touch can work normal when we touch the window's other place except the "X" close button. And both single touch and mouse can work normal, they can close the window by touch/click the "X" close window button. In Xorg(Version 1.16.1), mouse click event, single touch event, and multi-touch event all call the below function to deliver the coming event to the target window. int DeliverDeviceEvents(WindowPtr pWin, InternalEvent *event, GrabPtr grab, WindowPtr stopAt, DeviceIntPtr dev) If we use mouse or single touch to click/touch the "X" close window button, function ProcessDeviceEvent() call the above function. When the event->any.type=ET_ButtonPress, the pWin point to the "X" close window button. The pWin is got by function GetSpriteWindow(). But if we use multi-touch to touch the "X" close window button, function DeliverTouchEmulatedEvent() call DeliverDeviceEvents(). When the event->any.type=ET_ButtonPress, the pWin does not point to the "X" close window button, it actually point to the "X" close window button's parent window. So in function DeliverDeviceEvents(), when call function DeliverOneEvent(), the value child is zero, rather than the target window.