Comments (9)
I created #122 for this
from xorgxrdp.
Well, I don't know what they guaranteed per spec: defined or defined to 1. In the latter case it's a bug on their side, in the former a reliance on unspecified behavior on this side.
But even in the latter case they might want to transition to only it being defined since the value '1' has no special meaning to them. XvExtension
is no single case but it seems that pretty much every extension is handled that way and, with meson, merely defined than defined to a specific value.
If it did have an intended meaning in earlier X versions but they don't this anymore, one could of course check against the X version
#if defined(XvExtension) && (/* X Version >= 1.20 */ || XvExtension)
Since XvExtension
will only evaluated when X Version < 1.20 this should work.
from xorgxrdp.
@jsorg71 thoughts on the proposed fix? It seems to be blowing up on Arch.
from xorgxrdp.
Thanks for reporting, I'll take a look. It seems 1.20 was releases May 10 2018.
from xorgxrdp.
This looks like a bug on their side. There is not a good way to fix it on our side.
from xorgxrdp.
checking for Xorg version does not fix it. you need to check for meson. It builds fine with autotools. This is a bug in the meson config in Xorg, it's still under development the way it looks.
from xorgxrdp.
Yes, it's impossible though to check whether the installed system was built using meson or not, however with Xorg 1.20 quite many distributors changed to meson, hence the version check.
We could also just go full-on, and kill the check for the value of `XvExtension* altogether, since I've not seen this anywhere else at all, it's probably code that just "happened to work" anyway. Or is there a specifying that such check is legal or even needed?
from xorgxrdp.
I think we can change it to
#if defined(XvExtension)
and get rid of the second part.
I checked with
meson configure -Dxv=false
and XvExtension is not defined in that case.
from xorgxrdp.
@jsorg71 Yep, this should work, at least for current Xorg, but glanicing into the sources of X makes it look as this should also work for older revisions, so LG2M.
from xorgxrdp.
Related Issues (20)
- mouse move from code using XTEST extension does not work HOT 3
- Xorg not showing on login screen HOT 2
- configure: error: Package requirements (xrdp >= 0.9.80) were not met HOT 3
- How do I get the refresh rate to 60 Hz?
- xfreerdp: caps lock sometimes gets out of sync / works inverted HOT 9
- building source error, error: ‘struct xrdp_client_info’ has no member named ‘monitorCount’ HOT 3
- Stuck in blue screen with "connection problem, giving up" HOT 11
- [v0.9] too fast scroll speed with macOS RDP client (again) HOT 23
- Unable to reconnect after restarting xorgxrdp HOT 24
- Add VA-API support to leverage WSL2 video hardware acceleration
- GFX: move to posix shm HOT 2
- In rdpLRANDR.c why set refresh rate to 50Hz? HOT 7
- xorgrdp: XF86VidModeSetGamma() -> BadValue HOT 3
- Can't mount drives after xrdp update HOT 1
- V0.10.0 - release note title incorrect HOT 1
- 0.10 version AUR not starting HOT 15
- xorgxrdp-glamor with virtualbox-guest-utils (VirtualBox Arch VM) HOT 2
- building 0.9.20 on debian gnu/linux sid HOT 1
- xorgxrdp uses high CPU in CRC HOT 15
- Natural Scrolling for xrdpMouse HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xorgxrdp.