Browse Source

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

opengl
nwlyoc 2 months ago
committed by Martijn Braam
parent
commit
e17a516564
  1. 2
      src/main.c

2
src/main.c

@ -496,7 +496,7 @@ on_zbar_dialog_response(GtkDialog *dialog, int response, char *data)
{
GdkDisplay *display = gtk_widget_get_display(GTK_WIDGET(dialog));
gdk_clipboard_set_text(
gdk_display_get_primary_clipboard(display),
gdk_display_get_clipboard(display),
data);
}
case GTK_RESPONSE_CANCEL:

Loading…
Cancel
Save