[RFC] Fixing fixx11h.h

David Faure faure+bluesystems at kde.org
Mon Mar 11 17:58:31 UTC 2013


On Sunday 10 March 2013 12:41:10 Martin Graesslin wrote:
> My suggestion to fix the situation:
> 1. move fixx11h.h to the tier1 lib kwindowsystem
> 2. remove the #if HAVE_X11 from the header
> 3. make all other usages include the headers from kwindowsystem. Later
> step:  port away from XLib to XCB (fixes the issue as XCB is more sane in
> that regard)

Sounds good.

The user of fixx11h.h can check HAVE_X11 first (as they already do when 
including X headers right next to that one anyway).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by BlueSystems and KDAB to work on KDE Frameworks



More information about the Kde-frameworks-devel mailing list