summaryrefslogtreecommitdiff
path: root/community/amaya/amaya-wxyield.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/amaya/amaya-wxyield.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/amaya/amaya-wxyield.patch')
-rw-r--r--community/amaya/amaya-wxyield.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/amaya/amaya-wxyield.patch b/community/amaya/amaya-wxyield.patch
new file mode 100644
index 000000000..69235f5d4
--- /dev/null
+++ b/community/amaya/amaya-wxyield.patch
@@ -0,0 +1,21 @@
+diff -aur Amaya11.3.1/Amaya/thotlib/dialogue/appdialogue_wx.c Amaya11.3.1.new/Amaya/thotlib/dialogue/appdialogue_wx.c
+--- Amaya11.3.1/Amaya/thotlib/dialogue/appdialogue_wx.c 2009-09-15 17:17:02.000000000 +0200
++++ Amaya11.3.1.new/Amaya/thotlib/dialogue/appdialogue_wx.c 2010-08-17 21:07:40.973352206 +0200
+@@ -993,7 +993,7 @@
+ * this function waits for complete widgets initialisation */
+ /* notice: no not use safe yield here because it use a
+ wxWindowDisabler and it makes menus blinking */
+- wxYield();
++ wxTheApp->Yield(TRUE);
+ return TRUE;
+ }
+
+@@ -1824,7 +1824,7 @@
+ TtaHandlePendingEvents();
+ /* wait for frame initialisation (needed by opengl)
+ * this function waits for complete widgets initialisation */
+- wxYield();
++ wxTheApp->Yield(TRUE);
+ /* fix accessibility problem : force the created frame to get the focus */
+ TtaRedirectFocus();
+