You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux engine: a gesture whose target window dies mid-gesture answers ok with no note (E1, arm64) #410
In M5's T6 arm64 pilot, step E1 ("an interrupted drag under a held key, then a move") showed that cua's Linux drag answers {ok:true} when its target window destroys itself on the ButtonPress. All of cua's X requests landed on the live window before the destroy (0.82 ms on arm64). The recorder then saw only the press, and the moves and release went to no window. x64's cua and both vendor builds lost the race and answered ok:false with an X error. Both answers are truthful (ruling 818), but the ok:true answer gives the agent no sign that the gesture's target is gone after the first event.
Work
After a drag or other multi-event gesture, check that the target window still exists. If it was destroyed during the gesture, keep ok:true and add a note to the reply: target window gone after <event>. Not a failure: a gesture that closes its window is a legitimate effect.
Proof
A unit test with a fake X client that destroys the window on press: the reply is ok with the note.
E1's scenario passes with the note present on both arches.
Activity