SFML community forums

Help => Window => Topic started by: Ancurio on December 24, 2012, 09:20:25 am

Title: Is Xlib fix for threading still relevant?
Post by: Ancurio on December 24, 2012, 09:20:25 am
Hi! I recently started working with SFML, and I must say I enjoy it very much^^

When I split off event handling in my project into a separate thread,
all sorts of weird would happen, from bad X request errors to hanging in a window.clear() call.

This patch (http://pastebin.com/xHC0dwun) fixes those issues, but I was wondering if I should even create a pull request for this,
as it seems the relevant parts will soon be replaced by xcb anyway?
Title: Re: Is Xlib fix for threading still relevant?
Post by: Laurent on December 24, 2012, 09:22:27 am
You don't need to create a pull request for this. I'm aware of the problem, and it will be fixed soon.
Title: Re: Is Xlib fix for threading still relevant?
Post by: Ancurio on December 24, 2012, 10:24:34 am
Okay, thanks^^

By "fixing", do you actually mean the switch to xcb?
Title: Re: Is Xlib fix for threading still relevant?
Post by: Laurent on December 24, 2012, 11:26:20 am
Yep.