committed by
borgmanJeremy
parent
ebc94b1131
commit
77c509e798
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user