Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh.
This commit is contained in:
parent
0046986e3e
commit
e17a516564
|
@ -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…
Reference in New Issue