skylarmt / android-xserver

Automatically exported from code.google.com/p/android-xserver
0 stars 0 forks source link

Error in Extension support checking #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When checking if an extension is implemented, currently searches in the values 
instead of the keys.

http://code.google.com/p/android-xserver/source/browse/XServer/src/au/com/darksi
de/XServer/XServer.java#658

if (_extensions.contains (s))

Should read:

if (_extensions.containsKey (s))

This can be seen if you use xdpyinfo (or another program that can dump 
information about an xserver). containsKey will allow the dummy extension to be 
reported as supported.

Original issue reported on code.google.com by comms.me...@gmail.com on 20 May 2012 at 7:56

GoogleCodeExporter commented 8 years ago
Fixed in version 1.11

Original comment by matti.k...@gmail.com on 25 Aug 2013 at 10:32