Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

Commit 646fbcc

Browse files
committed
Fix an issue with possible minimizing of CropEditor by a WM
1 parent 37ce6f1 commit 646fbcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cropeditor/cropview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CropView::CropView(QGraphicsScene *scene) : QGraphicsView(scene) {
44
setFrameShape(QFrame::NoFrame); // Time taken to solve: A george99g and 38 minutes.
55
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
66
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
7-
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint);
7+
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint);
88
setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform | QPainter::HighQualityAntialiasing);
99
setCursor(QCursor(Qt::CrossCursor));
1010
}

0 commit comments

Comments
 (0)