Steps to reproduce: 1) Press the mouse button in the topmost window 2) Drag outside that window, over another Firefox window 3) Release the button 4) Watch that other window raise
Created attachment 292456 [details] [diff] [review] fix v2.0 I realized that the window being brought forward is being caused by a synthetic mouse down, not Gecko's handling of the mouse up being sent to the background window. That synthetic mouse down is only meant for popup widgets, we can just not send it unless one exists.
Comment on attachment 292456 [details] [diff] [review] fix v2.0 I'm sure this is right, so I'll r+ it without testing. Too bad I missed it when I reviewed the patch for bug 406362 :-(
10 years ago
landed on trunk