Skip to content

Commit 9f0aefb

Browse files
fix(portalgrab): change PERSIST_WHILE_RUNNING to 2
A value of 2 indicates "Remember this Selection". Co-authored-by: Carson Katri <Carson.katri@gmail.com>
1 parent aad6f8a commit 9f0aefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/linux/portalgrab.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define CURSOR_MODE_EMBEDDED 2
3535

3636
#define PERSIST_FORGET 0
37-
#define PERSIST_WHILE_RUNNING 1
37+
#define PERSIST_WHILE_RUNNING 2
3838

3939
#define PORTAL_NAME "org.freedesktop.portal.Desktop"
4040
#define PORTAL_PATH "/org/freedesktop/portal/desktop"

0 commit comments

Comments
 (0)