summaryrefslogtreecommitdiff
path: root/mono-4.2-fix-winforms-trayicon.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-29 09:05:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-29 09:05:00 +0000
commit01512192090af8694f4e0ab2be9e47447869627b (patch)
treed1da7cf432e17ec972a97cbefd7151708cca0219 /mono-4.2-fix-winforms-trayicon.patch
parenta40f344f9466a0470cfc97424fd83b59bf88a02a (diff)
automatic import of mono
Diffstat (limited to 'mono-4.2-fix-winforms-trayicon.patch')
-rw-r--r--mono-4.2-fix-winforms-trayicon.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/mono-4.2-fix-winforms-trayicon.patch b/mono-4.2-fix-winforms-trayicon.patch
new file mode 100644
index 0000000..ffd7308
--- /dev/null
+++ b/mono-4.2-fix-winforms-trayicon.patch
@@ -0,0 +1,27 @@
+From bc9d2b37c682f3fdc2c41450cf367c78d0f6ca22 Mon Sep 17 00:00:00 2001
+From: Arsen Shnurkov <Arsen.Shnurkov@gmail.com>
+Date: Thu, 4 Jun 2015 21:32:20 +0300
+Subject: [PATCH] https://bugzilla.xamarin.com/show_bug.cgi?id=14976
+
+---
+ mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
+index b0777b5..d50d6c4 100644
+--- a/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
++++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
+@@ -6219,9 +6219,6 @@ namespace System.Windows.Forms {
+ atoms [0] = (IntPtr)1; // Version 1
+ atoms [1] = (IntPtr)1; // we want to be mapped
+
+- // This line cost me 3 days...
+- XChangeProperty(DisplayHandle, hwnd.whole_window, _XEMBED_INFO, _XEMBED_INFO, 32, PropertyMode.Replace, atoms, 2);
+-
+ // Need to pick some reasonable defaults
+ tt = new ToolTip();
+ tt.AutomaticDelay = 350;
+--
+2.0.5
+
+