~martijnbraam/public-inbox

Megapixels: Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh. v1 PROPOSED

: 1
 Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh.

 1 files changed, 1 insertions(+), 1 deletions(-)
#499230 alpine.yml success
#499231 arch.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/22451/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH Megapixels] Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh. Export this patch

From: nwlyoc <nwlyoc@mailbox.org>

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 63471bc..fd04da8 100644
--- a/main.c
+++ b/main.c
@@ -500,7 +500,7 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code)
			}
		case GTK_RESPONSE_ACCEPT:
			gtk_clipboard_set_text(
				gtk_clipboard_get(GDK_SELECTION_PRIMARY),
				gtk_clipboard_get(GDK_SELECTION_CLIPBOARD),
				data, -1);
		case GTK_RESPONSE_CANCEL:
			break;
-- 
2.31.1
builds.sr.ht
megapixels/patches: SUCCESS in 1m26s

[Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh.][0] from [][1]

[0]: https://lists.sr.ht/~martijnbraam/public-inbox/patches/22451
[1]: mailto:nwlyoc@mailbox.org

✓ #499230 SUCCESS megapixels/patches/alpine.yml https://builds.sr.ht/~martijnbraam/job/499230
✓ #499231 SUCCESS megapixels/patches/arch.yml   https://builds.sr.ht/~martijnbraam/job/499231
Thanks, it's in 1.0.0

On 5/1/21 7:16 PM, nwlyoc@mailbox.org wrote: