GUI-FreeRDP/thinstation.patch

27 lines
1.0 KiB
Diff
Raw Permalink Normal View History

2023-02-20 16:34:28 +00:00
diff --git a/client/X11/cli/gui.c b/client/X11/cli/gui.c
index e2147a4..9b97a83 100644
2023-02-20 16:34:28 +00:00
--- a/client/X11/cli/gui.c
+++ b/client/X11/cli/gui.c
@@ -217,7 +217,11 @@ Ihandle* guiStart()
IupSetAttribute(iconLang, "NAME", "KEYBOARD");
IupSetAttribute(iconLang, "IMAGE", "keyboardRu");
IupSetAttribute(iconLang, "FLOATING", "YES");
- IupSetAttribute(iconLang, "POSITION", "13,222");
+#ifdef IUP_DESCRIPTION_ABOUT_ARCH_X32
+ IupSetAttribute(iconLang, "POSITION", "13,235");
+#else
+ IupSetAttribute(iconLang, "POSITION", "13,228");
+#endif
IupSetAttribute(iconLang, "TIP", "Текущая раскладка клавиатуры (Alt+Shift)");
#endif
@@ -275,7 +279,7 @@ Ihandle* guiStart()
IupSetAttribute(dlg, "DEFAULTENTER", "CONNECT");
IupSetAttribute(dlg, "DEFAULTESC", "CLOSE");
#ifdef IUP_WITH_LANGUAGE_KEYBOARD_ICON
- IupSetCallback(dlg, "iup_XkeyAlt(K_LSHIFT)", (Icallback) k_any);
+ IupSetCallback(dlg, "K_ANY", (Icallback) k_any);
IupSetCallback(dlg, "GETFOCUS_CB", (Icallback) k_any);
#endif