[Interest] Drag from a window without going in the desktop foreground when taking the focus

Thiago Macieira thiago.macieira at intel.com
Fri Jun 6 17:48:11 CEST 2014


Em sex 06 jun 2014, às 12:24:40, Etienne Sandré-Chardonnal escreveu:
> I have observed that many apps are well designed for inter-app drag&drop
> behavior : when an item is dragged between window app A and window app B
> while A did not have the focus, A takes the focus upon the drag click
> without coming in the foreground. This allows, for instance, dragging from
> a maximized window to a smaller one which is on top.
> 
> In my Qt app, the window is raised on top at the drag enter click event,
> along with the acquired focus. How can I prevent this?

Does that happen on every windowing system? Do other applications behave 
differently in the same windowing systems?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list