From a06db39550f3ee0a96dd5e75aa4a5cc724587324 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 29 Jun 2017 12:00:02 -0400 Subject: Fix the bitwise operations for the resize XCB operation --- src-qt5/core/libLumina/NativeWindowSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/libLumina/NativeWindowSystem.cpp') diff --git a/src-qt5/core/libLumina/NativeWindowSystem.cpp b/src-qt5/core/libLumina/NativeWindowSystem.cpp index 5f2c8b6e..cea0e924 100644 --- a/src-qt5/core/libLumina/NativeWindowSystem.cpp +++ b/src-qt5/core/libLumina/NativeWindowSystem.cpp @@ -484,13 +484,13 @@ void NativeWindowSystem::ChangeWindowProperties(NativeWindow* win, QList< Native QSize sz = vals[ props.indexOf(NativeWindow::Size) ] .toSize(); valList.width = sz.width(); valList.height = sz.height(); - mask = mask & XCB_CONFIG_WINDOW_WIDTH & XCB_CONFIG_WINDOW_HEIGHT; + mask = mask | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; } if(props.contains(NativeWindow::GlobalPos)){ QPoint pt = vals[ props.indexOf(NativeWindow::GlobalPos) ] .toPoint(); valList.x = pt.x(); valList.y = pt.y(); - mask = mask & XCB_CONFIG_WINDOW_X & XCB_CONFIG_WINDOW_Y; + mask = mask | XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y; } xcb_configure_window_aux(QX11Info::connection(), win->id(), mask, &valList); } -- cgit