Skip to content

Commit

Permalink
Revert "pinwidget: allow moving widget partially outside of screen un…
Browse files Browse the repository at this point in the history
…der linux (flameshot-org#2520)"

This reverts commit 850260d.
Fix for flameshot-org#2768
(but breaks another issue so dont merge upstream)
  • Loading branch information
gepbird committed Aug 1, 2024
1 parent ccb5a27 commit 21cae1e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tools/pin/pinwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ PinWidget::PinWidget(const QPixmap& pixmap,
static_cast<int>(static_cast<double>(MARGIN) * devicePixelRatio);
QRect adjusted_pos = geometry + QMargins(margin, margin, margin, margin);
setGeometry(adjusted_pos);
#if defined(Q_OS_LINUX)
setWindowFlags(Qt::X11BypassWindowManagerHint);
#endif

#if defined(Q_OS_MACOS) || defined(Q_OS_LINUX)
if (currentScreen != nullptr) {
Expand Down

0 comments on commit 21cae1e

Please sign in to comment.