9954c45fe9
Platform/Unix/X11Keyboard: Implement handleMessage()
2020-12-19 18:55:11 +01:00
30dc11f0d5
Platform/Unix/X11Display.h: Some documentation.
2020-12-19 18:55:11 +01:00
23cf17f9af
Platform/Unix/X11EventQueue.cpp: Only process one event per call to poll(). Confirming to Platform API.
2020-12-19 18:55:11 +01:00
7648c23e43
Platform/Unix/X11EventQueue: get and release display handle in constructor/destructor instead of every call to poll()
...
Should be fine as the display should never change during runtime.
2020-12-19 18:55:11 +01:00
c5648a5105
Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler.
2020-12-19 18:55:11 +01:00
2b14977eed
source/Platform/Unix/X11Display.cpp: register with X11WindowEventHandler
2020-12-19 18:55:11 +01:00
7402896ce6
Adding Platform/Unix/X11WindowEventHandler
2020-12-19 18:55:11 +01:00
7a694e8fd0
Platform/Unix/X11Display: Adding processEvent() to handle resize.
2020-12-19 18:55:11 +01:00
f07be50bd3
source/Platform/Unix/X11Display.cpp: Replace ResizeRedirectMask with StructureNotifyMask
...
ResizeRedirectMask is broken (will not update the window size). We use StrucutreNotifyMask instead and capture the window size from CaptureNotify event instead.
2020-12-19 18:55:10 +01:00
96b61f0ee3
source/Platform/Unix/X11Display.cpp: in create() call setSize()
2020-12-19 18:55:10 +01:00
9b5bd9dcd0
source/Platform/Unix/X11EventQueue.cpp: post quit event on "WM_DELETE_WINDOW".
2020-12-19 18:55:10 +01:00
035dd333da
source/Platform/Unix/X11EventQueue.cpp: log "WM_DESTROY_WINDOW" message.
2020-12-19 18:55:10 +01:00
46bf27f4a4
source/Platform/Unix/X11Display.cpp: call XSetWMProtocols with "WM_DELETE_WINDOW" flag.
2020-12-19 18:55:10 +01:00
d94c7fcf9a
Platform/Unix/X11SharedDisplay: adding getAtom()
2020-12-19 18:55:10 +01:00
f8188c4358
source/Platform/Unix/UnixEventQueue.cpp: implement a poll method (only log events for now)
2020-12-19 18:55:10 +01:00
5e27f820de
source/Platform/Unix/X11Display.cpp: in create() set the attr.event_mask to include some interesting events.
2020-12-19 18:55:10 +01:00
7dedabba57
source/Platform/Unix/GLXContext: Initial implementation
2020-12-19 18:55:10 +01:00
b65cb9c2d2
source/Platform/Unix/X11Display.cpp: Initial implementation
2020-12-19 18:55:10 +01:00
bd38e9e98f
Adding source/Platform/Unix/X11SharedDisplay.cpp
2020-12-19 18:55:10 +01:00
c41fb6c013
Adding glad GLX
2020-12-19 18:55:10 +01:00
6464838159
source/Platform/Unix: stub implementation
2020-12-19 18:55:10 +01:00