Fix build on OS X
Review Request #125081 - Created Sept. 6, 2015 and discarded
Use kwindowsystem.h to check whether X11 is available and move netwm.h with them since that header is made available with the xcb plugin.
Build on OS X 10.8
|Please don't use the KWINDOWSYSTEM_HAVE_X11 but instead find XCB yourself and define your own HAVE_X11. KWIND)WSYSTEM_HAVE_X11 is not public API.||Martin Flöser|
Revision 4 (+7 -2)
Ideally the usage of netwm should be removed. NETWM is very low-level - valid users are KWin and Plasma and KWindowsystem itself and that's it. So I am relatively sure that the usage of NETWM in Konqueror is just wrong and can be replaced by an abstracting API in KWindowsystem.