hw/xwin: Fix lingering uses of libX11 types and values

This commit is contained in:
Jon Turney 2019-04-26 02:26:44 +01:00
parent d7010cd93a
commit 9a4b62798b
3 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,6 @@
#include <stdbool.h>
#include <X11/Xwindows.h>
#include <X11/Xlib.h>
#include <xcb/xcb.h>
#include <xcb/xcb_icccm.h>
#include <xcb/xcb_image.h>
@ -582,7 +581,7 @@ winXIconToHICON(xcb_connection_t *conn, xcb_window_t id, int iconSize)
*/
void
winUpdateIcon(HWND hWnd, xcb_connection_t *conn, Window id, HICON hIconNew)
winUpdateIcon(HWND hWnd, xcb_connection_t *conn, xcb_window_t id, HICON hIconNew)
{
HICON hIcon, hIconSmall = NULL, hIconOld;

View File

@ -30,7 +30,7 @@
#include <xcb/xcb.h>
void
winUpdateIcon(HWND hWnd, xcb_connection_t *conn, Window id, HICON hIconNew);
winUpdateIcon(HWND hWnd, xcb_connection_t *conn, xcb_window_t id, HICON hIconNew);
void
winInitGlobalIcons(void);

View File

@ -1275,7 +1275,7 @@ winMultiWindowXMsgProc(void *pArg)
if ((reply->root == reply_qt->parent) && !notify->override_redirect) {
xcb_reparent_notify_event_t event_send;
event_send.response_type = ReparentNotify;
event_send.response_type = XCB_REPARENT_NOTIFY;
event_send.event = notify->window;
event_send.window = notify->window;
event_send.parent = reply_qt->parent;