add amd
This commit is contained in:
parent
271b15314c
commit
7f9248ad00
9 changed files with 354 additions and 32 deletions
38
overlays/unstable/gnome-remote-desktop-mac.patch
Normal file
38
overlays/unstable/gnome-remote-desktop-mac.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
From 35f9645cf500695da45e6faeacef536dc929d513 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Nowack <Pascal.Nowack@gmx.de>
|
||||
Date: Fri, 2 Aug 2024 15:03:06 +0200
|
||||
Subject: [PATCH] session-rdp: Also try to identify MS remote desktop client
|
||||
for Mac
|
||||
|
||||
WIP
|
||||
---
|
||||
src/grd-session-rdp.c | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/grd-session-rdp.c b/src/grd-session-rdp.c
|
||||
index ecac9e0a..3923e91d 100644
|
||||
--- a/src/grd-session-rdp.c
|
||||
+++ b/src/grd-session-rdp.c
|
||||
@@ -274,11 +274,15 @@ grd_session_rdp_is_client_mstsc (GrdSessionRdp *session_rdp)
|
||||
{
|
||||
rdpContext *rdp_context = session_rdp->peer->context;
|
||||
rdpSettings *rdp_settings = rdp_context->settings;
|
||||
+ uint32_t os_major_type =
|
||||
+ freerdp_settings_get_uint32 (rdp_settings, FreeRDP_OsMajorType);
|
||||
+ uint32_t os_minor_type =
|
||||
+ freerdp_settings_get_uint32 (rdp_settings, FreeRDP_OsMinorType);
|
||||
|
||||
- return freerdp_settings_get_uint32 (rdp_settings, FreeRDP_OsMajorType) ==
|
||||
- OSMAJORTYPE_WINDOWS &&
|
||||
- freerdp_settings_get_uint32 (rdp_settings, FreeRDP_OsMinorType) ==
|
||||
- OSMINORTYPE_WINDOWS_NT;
|
||||
+ return (os_major_type == OSMAJORTYPE_WINDOWS &&
|
||||
+ os_minor_type == OSMINORTYPE_WINDOWS_NT) ||
|
||||
+ (os_major_type == OSMAJORTYPE_OSX &&
|
||||
+ os_minor_type == OSMINORTYPE_UNSPECIFIED);
|
||||
}
|
||||
|
||||
static WCHAR *
|
||||
--
|
||||
2.45.2
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue