diff --git a/manage.cpp b/manage.cpp index 8d562c6c2e..190aaf25c1 100644 --- a/manage.cpp +++ b/manage.cpp @@ -633,8 +633,8 @@ void Client::embedClient(Window w, const XWindowAttributes& attr) const uint32_t cw_values[] = { 0, // back_pixmap 0, // border_pixel - attr.colormap, // colormap - QCursor(Qt::ArrowCursor).handle() // cursor + static_cast(attr.colormap), // colormap + static_cast(QCursor(Qt::ArrowCursor).handle()) // cursor }; const uint32_t cw_mask = XCB_CW_BACK_PIXMAP | XCB_CW_BORDER_PIXEL |