Unix: Rename X11Display to X11Window and make it work again with Spectre/Window/Window
This commit is contained in:
parent
96f6725428
commit
45d3bff620
9 changed files with 60 additions and 62 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include "X11Keyboard.h"
|
||||
#include "X11Display.h"
|
||||
#include "X11Window.h"
|
||||
#include "Xlib.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/keysym.h>
|
||||
|
|
@ -354,7 +354,7 @@ bool X11Keyboard::handleMessage(XKeyEvent* xkeyevent, Event& event)
|
|||
|
||||
void X11Keyboard::update(InputModule *input)
|
||||
{
|
||||
X11Display *focus = X11Display::getFocused();
|
||||
X11Window *focus = X11Window::getFocused();
|
||||
m_win = focus ? (::Window) focus->getHandle() : 0;
|
||||
|
||||
// If we have focus.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue