OK, after some interaction with GDK people, I got a patch
Am soo proud of myself!
Tricked the Win32 API into doing something it's not supposed to do. I'll post it here, too :)
So far it doesn't seem like the patch will be accepted, though. Zero interest.
>>>>>>>>>>>>>>>>>>>>>>>>>
1420c1420,1443
< API_CALL (BringWindowToTop, (GDK_WINDOW_HWND (window)));
---
>
> // API_CALL (BringWindowToTop, (GDK_WINDOW_HWND (window))); the
> // above call only brings us above other background windows, but
> // not on top of foreground windows - see documentation for
> // SetForegroundWindow call and for SetWindowPos call (read the
> // remarks for SetWindowPos very carefully)
> //
> // Instead of the above call, we make two calls: one to make the
> // window topmost, one to lower it down to non-topmost
> // state. This brings us exactly where we wanted to be, on top
> // of all non-topmost windows, without grabbing focus or
> // foreground status.
>
> API_CALL (SetWindowPos, (GDK_WINDOW_HWND (window),
> HWND_TOPMOST, 0,0,0,0,
> SWP_NOACTIVATE | SWP_NOMOVE |
> SWP_NOSIZE | SWP_SHOWWINDOW |
> SWP_NOSENDCHANGING ));
>
> API_CALL (SetWindowPos, (GDK_WINDOW_HWND (window),
> HWND_NOTOPMOST, 0,0,0,0,
> SWP_NOACTIVATE | SWP_NOMOVE |
> SWP_NOSIZE));
>
<<<<<<<<<<<<<<<<<<<<<<<<<
--
This guy's ahead of his time! He's using quantum programming methods: in universes where invalid data is passed to this function, it does not return. Thus you are ensured that you will only have valid data after calling it. Optimally you'd destroy the universe on failure, but computers haven't quite advanced to that level yet.
-- [link|http://thedailywtf.com/archive/2004/10/26/2920.aspx|The] Daily WTF