Skip to content

Commit

Permalink
Give pins a different window title (#3766)
Browse files Browse the repository at this point in the history
* Give pins a different window title

Workaround for a KDE issue where the capture window can't be
differentiated from the pin window in any way, making the multi-monitor
workaround in #3073 also break pins.

* reformat window title

Flameshot Pin => flameshot-pin
  • Loading branch information
typecasto authored Jan 19, 2025
1 parent 3fafcf4 commit 10d12e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/pin/pinwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ PinWidget::PinWidget(const QPixmap& pixmap,
// set the bottom widget background transparent
setAttribute(Qt::WA_TranslucentBackground);
setAttribute(Qt::WA_DeleteOnClose);
setWindowTitle("flameshot-pin");
ConfigHandler conf;
m_baseColor = conf.uiColor();
m_hoverColor = conf.contrastUiColor();
Expand Down

0 comments on commit 10d12e0

Please sign in to comment.