diff options
Diffstat (limited to 'hw/xwin/winmultiwindowwm.c')
-rw-r--r-- | hw/xwin/winmultiwindowwm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwin/winmultiwindowwm.c b/hw/xwin/winmultiwindowwm.c index c5404cfe3..e594794c1 100644 --- a/hw/xwin/winmultiwindowwm.c +++ b/hw/xwin/winmultiwindowwm.c @@ -48,6 +48,7 @@ #include <X11/X.h> #include <X11/Xatom.h> #include <X11/Xlib.h> +#include <X11/Xlib-xcb.h> #include <X11/Xlocale.h> #include <X11/Xproto.h> #include <X11/Xutil.h> @@ -62,6 +63,7 @@ #include "windowstr.h" #include "winglobals.h" #include "windisplay.h" +#include "winmultiwindowicons.h" #ifdef XWIN_MULTIWINDOWEXTWM #include <X11/extensions/windowswmstr.h> @@ -628,7 +630,7 @@ UpdateIcon(WMInfoPtr pWMInfo, Window iWindow) } } - winUpdateIcon(hWnd, pWMInfo->pDisplay, iWindow, hIconNew); + winUpdateIcon(hWnd, XGetXCBConnection(pWMInfo->pDisplay), iWindow, hIconNew); } /* |