[PATCH libX11 2/3] Don't cache last lcd in _XlcCurrentLC.

2017-08-10 Thread Jacek Caban
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway.

[PATCH libX11 3/3] Make conv_list thread safe.

2017-08-10 Thread Jacek Caban
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 Signed-off-by: Jacek Caban --- src/locking.c | 13 + src/xlibi18n/lcConv.c | 25

[PATCH libX11 1/3] Make _XCloseLC thread safe.

2017-08-10 Thread Jacek Caban
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 Signed-off-by: Jacek Caban --- src/xlibi18n/lcWrap.c | 4 1 file changed, 4 insertions(+)

Re: Second Feedback request for my GSoC project to improve Present support in Xwayland

2017-08-10 Thread Pekka Paalanen
On Thu, 3 Aug 2017 14:11:25 +0200 Roman Gilg wrote: > On Wed, Aug 2, 2017 at 11:36 AM, Michel Dänzer wrote: > > > On 02/08/17 03:53 AM, Roman Gilg wrote: > > > > > > Another more serious problem would be, if an application only uses a > > > fixed

Re: Second Feedback request for my GSoC project to improve Present support in Xwayland

2017-08-10 Thread Pekka Paalanen
On Mon, 7 Aug 2017 17:36:27 +0900 Michel Dänzer wrote: > On 04/08/17 06:57 PM, Roman Gilg wrote: > > On Fri, Aug 4, 2017 at 8:44 AM, Michel Dänzer > > wrote: > > > > On 03/08/17 09:11 PM, Roman Gilg wrote: > > >

Re: [PATCH] xwayland: Avoid repeatedly looping through window ancestor chain

2017-08-10 Thread Pekka Paalanen
On Sun, 6 Aug 2017 20:03:47 +0200 Roman Gilg wrote: > Calling xwl_window_from_window means looping through the window ancestor > chain whenever it is called on a child window or on an automatically > redirected window. > > Since these properties and the potential ancestor's