mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-05 16:45:52 +00:00
Fix Windows capture with a screen on the left of the main screen
This commit is contained in:
@@ -74,17 +74,6 @@ void Controller::createVisualCapture(const uint id, const QString &forcedSavePat
|
||||
} while (modalWidget);
|
||||
|
||||
m_captureWindow = new CaptureWidget(id, forcedSavePath);
|
||||
#ifdef Q_OS_WIN
|
||||
m_captureWindow->setWindowFlags(Qt::WindowStaysOnTopHint
|
||||
| Qt::FramelessWindowHint
|
||||
| Qt::Popup);
|
||||
#else
|
||||
m_captureWindow->setWindowFlags(Qt::BypassWindowManagerHint
|
||||
| Qt::WindowStaysOnTopHint
|
||||
| Qt::FramelessWindowHint
|
||||
| Qt::Tool);
|
||||
#endif
|
||||
m_captureWindow->resize(m_captureWindow->pixmap().size());
|
||||
connect(m_captureWindow, &CaptureWidget::captureFailed,
|
||||
this, &Controller::captureFailed);
|
||||
connect(m_captureWindow, &CaptureWidget::captureTaken,
|
||||
|
||||
Reference in New Issue
Block a user