[connections] rdp-connection: Reinstate scale-to-window support
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connections] rdp-connection: Reinstate scale-to-window support
- Date: Wed, 13 Apr 2022 09:17:59 +0000 (UTC)
commit a56493b1a0cdb04fa9202497ddd32e950f928fe1
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Apr 5 11:21:13 2022 +0200
rdp-connection: Reinstate scale-to-window support
src/rdp-connection.vala | 7 +++++--
subprojects/gtk-frdp | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/rdp-connection.vala b/src/rdp-connection.vala
index d3d43cc..ccf26c1 100644
--- a/src/rdp-connection.vala
+++ b/src/rdp-connection.vala
@@ -51,11 +51,14 @@ namespace Connections {
public override bool scaling {
set {
- //display.set_scaling (value);
+ display.set_scaling (value);
}
get {
- return true;
+ if (!connected)
+ return false;
+
+ return display.scaling;
}
}
diff --git a/subprojects/gtk-frdp b/subprojects/gtk-frdp
index 930d643..84c7b2c 160000
--- a/subprojects/gtk-frdp
+++ b/subprojects/gtk-frdp
@@ -1 +1 @@
-Subproject commit 930d64337cc54b9887f9d61d410d734a30feb5c9
+Subproject commit 84c7b2cb7ece6938bedd7a3ca78b2ea7d3c2660d
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]