GNOME Bugzilla – Bug 133034
[DnD] Don't grab buttons on globally active windows in click-to-focus mode
Last modified: 2007-04-09 18:56:06 UTC
To allow DnD without raising a window, don't grab buttons on globally active windows in click-to-focus mode. Patch and explanation coming soon.
Created attachment 23917 [details] [review] Don't grab buttons on globally active windows in click-to-focus mode
And, yes, this means that no WM_TAKE_FOCUS message will be sent to globally active windows upon clicks in their client areas. That's the purpose of this and perhaps I chose the wrong title. The change in bug #128134 handles raising when appropriate. See also the other bugs blocking bug #133047 .
As per Gregory's comments in bug 76672 and bug 80984, this would require toolkit level changes as well, be incompatible with focus modes other than click-to-focus, and move focus policy from the window manager to applications. Odds of convincing all toolkit authors to accept such changes are essentially 0 (Lubos already objected on these grounds; see http://mail.gnome.org/archives/wm-spec-list/2004-April/msg00019.html). Don't raise on DND will instead be tracked in bug 152952 (and gtk bug 154260).