[PATCH app/xauth 1/2] Merge only entries with equal dpy and protoname.

2018-05-31 Thread Michal Srb
Merging two lists, or adding entry a into list acts unexpectedly if the list contains FamilyWild or entry with an empty display numbers. For example: > xauth list ##6f70656e737573652d74756d626c6577656564#: MIT-MAGIC-COOKIE-1 1500d80327733252cc42ba469138a259 > xauth add test/unix:2 MI

[PATCH app/xauth 2/2] Sort entries from most specific to most generic.

2018-05-31 Thread Michal Srb
There is no point in adding entry or merging lists if a FamilyWild entry would end in front of any entry, or entry without display number would end in front of entry with number. This sorts all entries in order: * FamilyWild without display number * FamilyWild with display number * Other fam

[PATCH app/xauth 0/2] Fix xauth interaction with wildcard entries.

2018-05-31 Thread Michal Srb
These patches attempt to fix how 'xauth add' and 'xauth merge' interacts with FamilyWild entries and entries with no display number. Ultimately it is attempt to fix this downstream bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1083869 The problem in that bug is that GDM creates Xauthority fi

Re: [PATCH xserver 1/3] xwayland: Add hook to check wl interface for glamor

2018-05-31 Thread Olivier Fourdan
Hi Lyude, On Wed, May 30, 2018 at 9:31 PM, Lyude Paul wrote: > NAK. I'm starting to see the problems with this approach I originally hit now. > > So: there's some unexpected catches when it comes to EGL client extensions. On > a system using glvnd with the nvidia driver, the EGL client extension