XEMBED Implementation

Mike McCormack mike at codeweavers.com
Sat Dec 2 23:09:28 CST 2006

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@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...


More information about the wine-devel mailing list