winex11.drv: Support HWND_TOPMOST/HWND_BOTTOM windows using NETWM states.
Alexandre Julliard
julliard at winehq.org
Thu Oct 25 05:03:01 CDT 2007
Robert Shearman <rob at codeweavers.com> writes:
> */
> -static void update_wm_states( Display *display, struct x11drv_win_data *data, BOOL force )
> +static void update_wm_states( Display *display, struct x11drv_win_data *data,
> + BOOL force, BOOL set_zorder, HWND insert_after )
> {
> static const unsigned int state_atoms[NB_WM_STATES] =
> {
> XATOM__NET_WM_STATE_FULLSCREEN,
> XATOM__NET_WM_STATE_SKIP_PAGER,
> - XATOM__NET_WM_STATE_SKIP_TASKBAR
> + XATOM__NET_WM_STATE_SKIP_TASKBAR,
> + XATOM__NET_WM_STATE_ABOVE,
> + XATOM__NET_WM_STATE_BELOW,
It's not that easy, there's a lot more to HWND_TOPMOST than simply
setting window manager hints, it needs to enforce proper ordering in
the server, and set/clear the WS_EX_TOPMOST style as needed. I have
that on my todo list...
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list