Re: winex11.drv: Support HWND_TOPMOST/HWND_BOTTOM windows using NETWM states.
Robert Shearman <rob(a)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(a)winehq.org
participants (1)
-
Alexandre Julliard