Prepare kwin for compiling with EGL_NO_PLATFORM_SPECIFIC_TYPES
This commit is contained in:
parent
9f2cb0ae1b
commit
8e060e7218
5 changed files with 9 additions and 2 deletions
|
@ -75,7 +75,7 @@ static QByteArray readWindowProperty(xcb_window_t win, xcb_atom_t atom, xcb_atom
|
|||
}
|
||||
}
|
||||
|
||||
static void deleteWindowProperty(Window win, long int atom)
|
||||
static void deleteWindowProperty(xcb_window_t win, long int atom)
|
||||
{
|
||||
if (win == XCB_WINDOW_NONE) {
|
||||
return;
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include <fixx11h.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include <fixx11h.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
class XInputIntegration;
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
// system
|
||||
#include <linux/input.h>
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include <X11/keysym.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
|
|
@ -368,7 +368,7 @@ void Workspace::initializeX11()
|
|||
}
|
||||
|
||||
// TODO: better value
|
||||
rootInfo->setActiveWindow(None);
|
||||
rootInfo->setActiveWindow(XCB_WINDOW_NONE);
|
||||
focusToNull();
|
||||
|
||||
if (!qApp->isSessionRestored())
|
||||
|
|
Loading…
Reference in a new issue