Skip to content

[pull] master from flameshot-org:master#206

Merged
pull[bot] merged 1 commit intoUncodedtech:masterfrom
flameshot-org:master
Feb 21, 2026
Merged

[pull] master from flameshot-org:master#206
pull[bot] merged 1 commit intoUncodedtech:masterfrom
flameshot-org:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 21, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

When compiled with USE_WAYLAND_CLIPBOARD, the clipboard now works
correctly on both Wayland and X11 sessions.

Previously, builds with USE_WAYLAND_CLIPBOARD=ON would always use
KSystemClipboard, which doesn't work properly when running under X11
(e.g., via XWayland or QT_QPA_PLATFORM=xcb).

This change adds a runtime check for the platform name:
- 'wayland' -> uses KSystemClipboard (KF6 GuiAddons)
- otherwise -> uses QApplication::clipboard() (standard Qt)

This allows distros to ship a single binary that works on both
display servers without requiring separate builds.

Co-authored-by: Benigno Batista Júnior <benigno@opus-software.com.br>
@pull pull bot locked and limited conversation to collaborators Feb 21, 2026
@pull pull bot added the ⤵️ pull label Feb 21, 2026
@pull pull bot merged commit c2cae03 into Uncodedtech:master Feb 21, 2026
15 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant