[connections/fix-simultaneous-displays-2: 5/6] vnc-connection: Get Gdk.Display for Clipboard from the main_window
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connections/fix-simultaneous-displays-2: 5/6] vnc-connection: Get Gdk.Display for Clipboard from the main_window
- Date: Wed, 28 Jul 2021 10:11:46 +0000 (UTC)
commit babe0b2a411c57b47209ad52948daed09ce68dea
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Jul 28 11:51:11 2021 +0200
vnc-connection: Get Gdk.Display for Clipboard from the main_window
src/vnc-connection.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vnc-connection.vala b/src/vnc-connection.vala
index 08fd539..0548244 100644
--- a/src/vnc-connection.vala
+++ b/src/vnc-connection.vala
@@ -94,7 +94,7 @@ namespace Connections {
window.add (display);
display.realize ();
- clipboard = Gtk.Clipboard.get_default(window.get_display ());
+ clipboard = Gtk.Clipboard.get_default (Application.application.main_window.get_display ());
display.vnc_initialized.connect (() => { show (); });
display.vnc_auth_credential.connect (on_vnc_auth_credential_cb);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]