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
|
|
@ -2,7 +2,7 @@
|
|||
#include <Spectre/System/Event.h>
|
||||
#include <Spectre/System/Log.h>
|
||||
#include "Xlib.h"
|
||||
#include "X11Display.h"
|
||||
#include "X11Window.h"
|
||||
#include "X11Mouse.h"
|
||||
|
||||
#define XBUTTON1BIT (1<<0)
|
||||
|
|
@ -89,7 +89,7 @@ void X11Mouse::update(InputModule *input)
|
|||
|
||||
void X11Mouse::updateFocusedWindow()
|
||||
{
|
||||
X11Display *focus = X11Display::getFocused();
|
||||
X11Window *focus = X11Window::getFocused();
|
||||
m_win = focus ? (::Window) focus->getHandle() : 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue