f71fdea463
source/Platform/Unix: Rename XRandR to Xrandr
2024-06-22 19:56:33 +02:00
b300310239
Platform/PlatformApplication: add createGLContext()
2023-08-23 19:43:22 +02:00
a8f65e54ac
Platform/PlatformApplication: Adding createWindow()
2023-08-23 15:06:54 +02:00
2ac3b5b8cc
Platform/PlatformApplication: define getMessageQueue() here as it is not platform specific.
2023-08-22 20:24:59 +02:00
1288ef88b8
Platform/PlatformWindow: pass owner in constructor instead of setting the variable directly on the object. it is cleaner.
2023-08-22 17:18:39 +02:00
45d3bff620
Unix: Rename X11Display to X11Window and make it work again with Spectre/Window/Window
2023-08-22 10:06:19 +02:00
c1f1dd75bd
GLContext: remove setSize() and set glViewport() in Display::onReshape()
2023-08-02 22:30:45 +02:00
085d593b66
source/Platform/Unix/X11Display.cpp: implement grabCursor()
2023-08-02 20:30:37 +02:00
d601d95d40
source/Platform/Unix/X11Display.cpp: Tell window to generate pointer events.
2023-08-02 20:30:37 +02:00
2cf035089b
source/Platform/Unix/X11Display.cpp: implement fullscreen somewhat correctly :)
2023-08-02 20:30:37 +02:00
186a6e0f14
Unix: Adding FindMode() XRandR helper function.
2023-08-02 20:30:37 +02:00
624871486f
source/Platform/Unix/X11Display.cpp: Improve logging.
2023-08-02 20:30:37 +02:00
57d4e44bbe
source/Platform/Unix/X11Display.cpp: make getSize() query X11 and dont just return cached value.
2023-08-02 20:30:37 +02:00
ea0edcf07f
source/Platform/Unix/GLXContext.h: Whitespace fix.
2023-08-02 20:30:37 +02:00
1854c4cb51
source/Platform/Unix/GLXContext.cpp: Whitespace fix.
2023-08-02 20:30:37 +02:00
35a6b38d16
source/Platform/Unix/X11Mouse.cpp: minor whitespace fix.
2023-08-02 20:30:37 +02:00
53d8248b8c
source/Platform/Unix/X11Display.cpp: typofix.
2023-08-02 20:30:37 +02:00
ff5d719fcf
source/Platform/Unix/X11Display.cpp: Do not capture Pointer motions.
2023-08-02 20:30:37 +02:00
75a53f635d
source/Platform/Unix/X11EventQueue.cpp: Remove ResizeRequest.
2023-08-02 20:30:37 +02:00
869b41c38a
source/Platform/Unix/UnixMisc.cpp: tab indentation fix.
2023-02-18 13:08:03 +01:00
0a5eb397c7
Platform/Unix/X11Display: Adding stub for enterFullscreen and exitFullscreen
2022-10-02 23:31:46 +02:00
84f0a83bee
source/Platform/Unix/X11Display.cpp: Whitespace fix.
2022-10-02 17:11:27 +02:00
605e0df902
source/Platform/Unix/X11Display.cpp: call setDecoration() in create()
2022-10-02 17:07:14 +02:00
36c6024649
Platform/Unix/X11Display: remove setIcon(const std::string&) as this exists in Generic Display class.
2022-10-02 17:06:02 +02:00
a8fa3981f4
source/Platform/Unix/Xlib.cpp: assert _priv::display in shutdown()
2022-10-02 17:02:10 +02:00
b78ddba11e
Platform/Unix/X11Display: implement setDecoration()
2022-10-02 17:01:40 +02:00
c20c79cfd3
Adding source/Platform/Unix/wm_hints.h
2022-10-02 17:00:45 +02:00
1c7cc31b52
source/Platform/Unix/X11Display.cpp: Fix getPosition() as it did not take border width into account.
2022-10-01 16:09:43 +02:00
46bc8eb5d8
Platform/Unix/Xlib: Adding getParentWindow()
2022-10-01 16:09:43 +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
197b4df87f
Unix: Remove unnecessary includes of Spectre/Display/DisplayDescription.h
2020-12-23 14:36:52 +01:00
080c4f77c3
Platform/Unix/X11Keyboard: only update state and signal key down if we have a focused window.
2020-12-20 16:29:12 +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
227d58725d
Platform/Unix/X11Display.cpp: Set and unset focused_display variable when the display receives FocusIn/Out events.
2020-12-20 16:03:05 +01:00
d9f54b08ca
Platform/Unix/X11Display: Adding getFocused()
2020-12-20 16:01:37 +01:00
d971cd6cb2
Platform/Unix/X11Display.cpp: Capture input focus events (just log for now).
2020-12-20 13:55:56 +01:00
56c24f7118
Platform/Unix/X11Display: Implement missing interface functions.
...
* getPosition
* setVisible
* minimize
* maximize
* grabCursor (only stub. to get the code to compile)
2020-12-20 13:43:35 +01:00
40e4f95452
Platform/Unix/X11Display.cpp: minor stuff.
2020-12-19 18:55:12 +01:00
0c76864b40
Platform/Unix/X11Display: in setSize() check if width or height is zero before calling XResizeWindow()
2020-12-19 18:55:12 +01:00
50439a58bd
source/Platform/Unix/X11Display.cpp: in destroy() make sure m_disp is valid before calling functions that needs it.
2020-12-19 18:55:12 +01:00
0d029817fe
source/Platform/Unix/X11Display.cpp: in destroy() call XDestroyWindow()
2020-12-19 18:55:12 +01:00
61b233f708
Platform/Unix/X11Display.cpp: Minor cleanup.
2020-12-19 18:55:12 +01:00
f5d80aa46f
Platform/Unix/X11Display: Implement setIcon()
2020-12-19 18:55:12 +01:00
3d9dda64ca
Platform/Unix/X11Display: Implement showCursor()
2020-12-19 18:55:12 +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
dfe29acc1e
Platform/Unix/UnixMisc.cpp: implement display mode lookups using xrandr extension.
2020-12-19 18:55:11 +01:00
03186ebea0
Platform/Unix/X11EventQueue.cpp: pass ButtonPress/ButtonRelease/MotionNotify events to X11Mouse
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