summaryrefslogtreecommitdiffhomepage
path: root/patches/xwin/ERROR.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-22 19:10:55 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-22 19:10:55 +0000
commit2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c (patch)
treed4728f3edd1aad20d3ad7865788728ac844c7246 /patches/xwin/ERROR.patch
parent98eaddd39b1417b6563847c8cc3a771f5ca13042 (diff)
downloadmidipix_build-2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c.tar.bz2
midipix_build-2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c.tar.xz
vars/build.vars:native_packages_deps_x11: adds xwin v1.20.1 (via Redfoxmoon.)
vars/build.vars:xwin:${PKG_DISABLED}: disabled pending fix. patches/xwin/*: via Redfoxmoon.
Diffstat (limited to 'patches/xwin/ERROR.patch')
-rw-r--r--patches/xwin/ERROR.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/xwin/ERROR.patch b/patches/xwin/ERROR.patch
new file mode 100644
index 00000000..07fd3325
--- /dev/null
+++ b/patches/xwin/ERROR.patch
@@ -0,0 +1,28 @@
+--- xorg-server-1.20.1.orig/hw/xwin/winwindow.c 2018-08-07 18:31:04.000000000 +0200
++++ xorg-server-1.20.1/hw/xwin/winwindow.c 2018-08-22 19:39:37.078925268 +0200
+@@ -269,14 +269,14 @@
+
+ if (pWinPriv->hRgn) {
+ if (CombineRgn(hRgnWin, hRgnWin, pWinPriv->hRgn, RGN_AND)
+- == ERROR) {
++ == 0) {
+ ErrorF("winAddRgn - CombineRgn () failed\n");
+ }
+ }
+
+ OffsetRgn(hRgnWin, iX, iY);
+
+- if (CombineRgn(hRgn, hRgn, hRgnWin, RGN_OR) == ERROR) {
++ if (CombineRgn(hRgn, hRgn, hRgnWin, RGN_OR) == 0) {
+ ErrorF("winAddRgn - CombineRgn () failed\n");
+ }
+
+@@ -363,7 +363,7 @@
+ }
+
+ /* Merge the Windows region with the accumulated region */
+- if (CombineRgn(hRgn, hRgn, hRgnRect, RGN_OR) == ERROR) {
++ if (CombineRgn(hRgn, hRgn, hRgnRect, RGN_OR) == 0) {
+ ErrorF("winReshapeRootless - CombineRgn() failed\n");
+ }
+