45d3bff620
Unix: Rename X11Display to X11Window and make it work again with Spectre/Window/Window
2023-08-22 10:06:19 +02:00
35a6b38d16
source/Platform/Unix/X11Mouse.cpp: minor whitespace fix.
2023-08-02 20:30:37 +02:00
f6aa0246d3
source/Platform/Unix/X11Mouse.cpp: implement hack for XButton1 and 2.
2020-12-28 18:20:55 +01:00
090646b61a
Platform/Unix: Rename X11SharedDisplay to Xlib, and remove Display member variable from all classes.
...
We now initialize/destroy the display in Xlib::init/shutdown that is called in UnixApplication::init/shutdown and
therefore is valid through the whole lifetime. So no need for classes to keep references.
2020-12-26 15:37:56 +01:00
6c96a3d9a1
Platform/Unix/X11Mouse.cpp: in isButtonDown() check if we have a focused window.
2020-12-20 16:28:25 +01:00
f71cfa86f2
Platform/Unix/X11Mouse: use X11Display::getFocused() to get the coordinates relative to the focused window.
2020-12-20 16:09:16 +01:00
d73c787f40
Platform/Unix/X11SharedDisplay: pass a pointer to the display to XReleaseDisplay() just to be sure client code has a valid pointer
2020-12-19 18:55:11 +01:00
816cf3a072
Platform/Unix/X11Mouse: adding a basic implementation to get things going.
2020-12-19 18:55:11 +01:00
6464838159
source/Platform/Unix: stub implementation
2020-12-19 18:55:10 +01:00