Update flatpak version reference

This commit is contained in:
dec05eba
2026-01-08 01:25:08 +01:00
parent 93a55b6bdf
commit d1220b013e
2 changed files with 4 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ gsr_ui_resources_path = join_paths(prefix, datadir, 'gsr-ui')
icons_path = join_paths(prefix, datadir, 'icons')
add_project_arguments('-DGSR_UI_VERSION="' + meson.project_version() + '"', language: ['c', 'cpp'])
add_project_arguments('-DGSR_FLATPAK_VERSION="5.11.3"', language: ['c', 'cpp'])
add_project_arguments('-DGSR_FLATPAK_VERSION="5.11.5"', language: ['c', 'cpp'])
executable(
meson.project_name(),

View File

@@ -272,8 +272,10 @@ namespace gsr {
}
clipboard_copies.clear();
if(XGetSelectionOwner(dpy, clipboard_atom) == clipboard_window)
if(XGetSelectionOwner(dpy, clipboard_atom) == clipboard_window) {
XSetSelectionOwner(dpy, clipboard_atom, None, CurrentTime);
XFlush(dpy);
}
if(filepath.empty()) {
// TODO: Cancel transfer