Fix narrowing conversion warnings
With this change KWin core is free of narrowing conversion warnings. SVN_SILENT
This commit is contained in:
parent
a5213c454b
commit
8ea46b7f2d
1 changed files with 2 additions and 2 deletions
|
@ -633,8 +633,8 @@ void Client::embedClient(Window w, const XWindowAttributes& attr)
|
||||||
const uint32_t cw_values[] = {
|
const uint32_t cw_values[] = {
|
||||||
0, // back_pixmap
|
0, // back_pixmap
|
||||||
0, // border_pixel
|
0, // border_pixel
|
||||||
attr.colormap, // colormap
|
static_cast<uint32_t>(attr.colormap), // colormap
|
||||||
QCursor(Qt::ArrowCursor).handle() // cursor
|
static_cast<uint32_t>(QCursor(Qt::ArrowCursor).handle()) // cursor
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint32_t cw_mask = XCB_CW_BACK_PIXMAP | XCB_CW_BORDER_PIXEL |
|
const uint32_t cw_mask = XCB_CW_BACK_PIXMAP | XCB_CW_BORDER_PIXEL |
|
||||||
|
|
Loading…
Reference in a new issue