Commit ef61f8ca authored by Jon Turney's avatar Jon Turney
Browse files

hw/xwin: Make sure that WM_WM_HINTS_EVENT does nothing for override-redirect windows

Future work: It looks like this code could be rationalized quite a lot: It might
make sense to pull the checking for override-redirect up out of UpdateIcon() and
UpdateName() and consolidate WM_WM_MAP2 and WM_WM_MAP3
Signed-off-by: Jon Turney's avatarJon TURNEY <>
Reviewed-by: default avatarColin Harrison <>
parent 3628559e
......@@ -817,6 +817,12 @@ winMultiWindowWMProc(void *pArg)
UINT flags;
XWindowAttributes attr;
/* Don't do anything if this is an override-redirect window */
XGetWindowAttributes (pWMInfo->pDisplay, pNode->msg.iWindow, &attr);
if (attr.override_redirect)
pNode->msg.hwndWindow = getHwnd(pWMInfo, pNode->msg.iWindow);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment