Commit graph

37 commits

Author SHA1 Message Date
Joshua Holmes
ab143504ab linux: improve logging when both backends fail 2025-01-12 09:10:24 -07:00
Joshua Holmes
710b5907a2 linux: remove deinit() because it doesn't seem like it's used in other platforms 2025-01-12 09:05:09 -07:00
Tristan Crawford
41ddd2249f all: instrument library loading 2024-12-31 19:03:58 -07:00
Stephen Gutekanst
ff13976518 update to latest zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-30 20:50:20 -07:00
Stephen Gutekanst
03ded69cff core: cleanup border/decorated properties
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-12-24 16:02:03 -07:00
Joshua Holmes
f39d47e49c linux: allow title to be changed again 2024-12-24 15:44:31 -07:00
Joshua Holmes
27aee7c036 x11: get x11 to build and run 2024-12-24 15:44:31 -07:00
Joshua Holmes
d6c387613d wayland: fix window initialization 2024-12-24 15:44:31 -07:00
Joshua Holmes
fdc3666a95 wayland: setup with new object system 2024-12-24 15:44:31 -07:00
Joshua Holmes
0ec182c3f4 linux: get build working with new system 2024-12-01 10:53:15 -07:00
Colton Franklin
d09990700f
core: wayland: Remove references to wl.state (#1306) 2024-11-24 18:42:43 -07:00
Joshua Holmes
f997859d7a core: add initial fullscreen support for x11 2024-11-24 13:35:19 -07:00
Joshua Holmes
15c63e8334 core: implement Linux.setTitle() 2024-11-24 13:35:19 -07:00
Stephen Gutekanst
fc13b371bf core: various fixes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Stephen Gutekanst
0e12857154 examples/core: building without ECS
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-11-23 21:20:04 -07:00
Joshua Holmes
f220494649 core: remove redundant writes to input_state 2024-11-16 17:37:54 -07:00
Joshua Holmes
a1dfaa2032 core: remove redundant management of several properties in Linux
Properties include title, size, border, cursor_mode, cursor_shape, display_mode, refresh_rate
2024-11-16 17:37:54 -07:00
Joshua Holmes
f90fb1170b core: wayland: use Linux object instead of Wayland obj in listeners 2024-11-16 17:37:54 -07:00
Ronald M Zielaznicki
2608e1313c
core: x11: clarify X11 multi-threading (#1297) 2024-11-09 11:36:12 -07:00
Joshua Holmes
06f61044fb
core: wayland: implement keyboard input & window resizing (#1293) 2024-11-09 11:33:42 -07:00
Ronald M Zielaznicki
ef74e6a953 add(core/linux/X11): comment to explain why XInitThreads is called first 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
59b453c024 remove(core/linux/X11): errorHandler in favor of the more verbose default handler 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
90b0923fa5 change(core/linux/x11): call to XInitThreads must be first libx11 call 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
15a2cb1f0c add(core/linux/Wayland): error return when decoration manager interface is not defined 2024-10-25 11:47:15 -07:00
Ronald M Zielaznicki
c6beaa70a8 fix(core/linux/X11): double free during deinit 2024-10-20 21:40:02 -07:00
Joshua Holmes
0a5d817f54 core: silently fail to connect to linux display and improve logging 2024-10-20 19:39:49 -07:00
Joshua Holmes
9763ce2857 core: fix wayland window size conflict 2024-10-20 19:39:49 -07:00
Joshua Holmes
fcba68282d core: enable x11 and set as default for linux 2024-10-20 19:39:49 -07:00
Stephen Gutekanst
e3a124f2b1 core: X11: update for build with Zig 2024.10.0-mach
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 22:11:54 -07:00
Joshua Holmes
c9f13dc003 core: handle x11 events 2024-10-08 13:43:06 -07:00
Joshua Holmes
a791089967 core: get x11 to build 2024-10-08 13:43:06 -07:00
Stephen Gutekanst
26c5cb5d60 update to Zig 2024.10-mach (helps hexops/mach#1276)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Joshua Holmes
8958d9f0de core: use xkb for keysym to unicode conversion 2024-09-17 10:59:30 -07:00
Joshua Holmes
36280a0980 core: fix linking issues 2024-09-17 10:59:30 -07:00
Joshua Holmes
88d14b5c04 core: get wayland to compile 2024-09-17 10:59:30 -07:00
Joshua Holmes
9ffaddd77a core: re-implement wayland 2024-09-11 09:18:23 -07:00
Joshua Holmes
f7141c01e2 core: setup x11 shell 2024-09-11 09:18:23 -07:00