- Fix support for xserver 1.18.0
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=75
This commit is contained in:
parent
68212fe828
commit
c24ee1db42
@ -1,7 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 12 12:51:31 UTC 2015 - msrb@suse.com
|
||||
|
||||
- n_xserver118.patch
|
||||
- u_xserver118.patch
|
||||
* Build with xserver 1.18.0, everything relevant for VNC is the
|
||||
same as in 1.17.0.
|
||||
|
||||
|
@ -120,7 +120,7 @@ Patch10: u_tigervnc-add-autoaccept-parameter.patch
|
||||
Patch11: N_tigervnc_revert_fltk_1_3_3_requirements.patch
|
||||
Patch12: U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch
|
||||
Patch13: u_tigervnc-vncserver-clean-pid-files.patch
|
||||
Patch14: n_xserver118.patch
|
||||
Patch14: u_xserver118.patch
|
||||
|
||||
%description
|
||||
TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing),
|
||||
|
@ -1,3 +1,7 @@
|
||||
Subject: Support X server 1.18.0
|
||||
Author: Michal Srb <msrb@suse.com>
|
||||
Patch-Mainline: To be upstreamed
|
||||
|
||||
diff --git a/unix/xserver/hw/vnc/xorg-version.h b/unix/xserver/hw/vnc/xorg-version.h
|
||||
index 8cc1c86..60610cb 100644
|
||||
--- a/unix/xserver/hw/vnc/xorg-version.h
|
||||
@ -14,3 +18,18 @@ index 8cc1c86..60610cb 100644
|
||||
#endif
|
||||
|
||||
#endif
|
||||
index 4c90a95..55befa7 100644
|
||||
--- a/unix/xserver/hw/vnc/Input.c
|
||||
+++ b/unix/xserver/hw/vnc/Input.c
|
||||
@@ -300,8 +300,10 @@ static inline void pressKey(DeviceIntPtr dev, int kc, Bool down, const char *msg
|
||||
#if XORG < 111
|
||||
n = GetKeyboardEvents(eventq, dev, action, kc);
|
||||
enqueueEvents(dev, n);
|
||||
-#else
|
||||
+#elif XORG < 118
|
||||
QueueKeyboardEvents(dev, action, kc, NULL);
|
||||
+#else
|
||||
+ QueueKeyboardEvents(dev, action, kc);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user