Diffusion KWin 346619aa36c3

Remove KWin::display from kwinglobals

Authored by graesslin on Nov 11 2016, 8:59 AM.

Description

Remove KWin::display from kwinglobals

Summary:
And finally nothing inside libkwineffects, libkwinglutils,
libkwinxrenderutils and kwineffect and kwin core uses KWin::display.
We are finally XLib free!

This change drops KWin::display and removes the include to QX11Info from
kwinglobals.h. And the libraries no longer need to link X11Extras. Due
to that removal a few seeming unrelated changes are required to add the
include where needed and linkage to X11Extras.

The biggest change is to x11 platform plugin which still needs the
display and caches it in the Platform and passes it to various places in
a way that the code doesn't need to be adjusted.

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D3337

Details

Committed
graesslinNov 16 2016, 5:00 PM
Differential Revision
D3337: Remove KWin::display from kwinglobals
Parents
R108:d7fa82764487: Pass function ptr to resolve glFunctions to initGL
Branches
Unknown
Tags
Unknown