[libtaskmanager] Protect against X11 usage on Wayland

Review Request #125445 - Created Sept. 29, 2015 and submitted

Information
Martin Flöser
plasma-workspace
master
977f5ca...
Reviewers
plasma
hein
Libtaskmanager so far only has compile time checks for windowing
systems resulting in the X11 specific code to be executed on platform
wayland which of course causes crashers.

This is a workaround by at least ensuring that we only call X11 specific
code on platform X11.

  
Eike Hein
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 3927e62e19a86dddc7e1c1d2a469a3d5ebbabe9c by Martin Gräßlin to branch master.
Loading...