3 Dec
2006
3 Dec
'06
5:09 a.m.
Cloudor Pu wrote:
Now, how can I get X11 window id by HWND in my program? I saw a patch GetX11WindowId at http://www.mail-archive.com/wine-devel(a)winehq.com/msg05282.html But this cannot be found in the latest wine. Can I get xwindow id by HWND without patching wine?
Only top level (managed) windows have an X window ID. You can see how Wine manages HWND -> X Window mappings in dlls/winex11.drv/window.c in the function X11DRV_get_whole_window(). This is likely subject to change... Mike