Commit 8e060e72 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Prepare kwin for compiling with EGL_NO_PLATFORM_SPECIFIC_TYPES

parent 9f2cb0ae
......@@ -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())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment