diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 0494d6b4..626ec48c 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -136,9 +136,11 @@ CaptureWidget::CaptureWidget(const uint id, move(currentScreen->geometry().x(), currentScreen->geometry().y()); resize(currentScreen->size()); #else - setWindowFlags(Qt::BypassWindowManagerHint | Qt::WindowStaysOnTopHint | - Qt::FramelessWindowHint | Qt::Tool); - resize(pixmap().size()); + // Disable Qt::BypassWindowManagerHint. Workaround for #583 #517 + setWindowFlags(/* Qt::BypassWindowManagerHint */ + Qt::WindowStaysOnTopHint + | Qt::FramelessWindowHint + | Qt::Tool); #endif } // Create buttons