Commit graph

40 commits

Author SHA1 Message Date
9309b5fe83 remove old hacks from wayland code, including MwLLBeginDraw and MwLLEndDraw which was really only ever needed for wayland and not anymore
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-18 19:24:51 -07:00
fc7896b5ce wayland: improve event loop
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-17 22:17:05 -07:00
eb0919333a wayland: fix several examples
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-17 20:39:37 -07:00
1cb8fb6c53 wayland: SEVERAL fixes
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-17 20:28:58 -07:00
d14c17b86e wayland fixes
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
2026-03-17 17:43:22 -07:00
7ad4d82024
c89 2026-02-02 23:02:42 +09:00
ad5aa03d11
remove non required headers 2026-01-31 20:42:09 +09:00
32f09a9af2 wayland: don't do parent draws on every event when we do'nt need to 2026-01-12 19:21:32 -07:00
d340c64ca3 wayland: fix weird regressiong 2026-01-12 18:50:33 -07:00
14e55b7f53 wayland: fix weird regression 2026-01-12 18:48:22 -07:00
69c95d5752 wayland: more fix 2026-01-12 18:18:05 -07:00
d3751c0bf9 submenu: just don't adjust if there's no global coordinates, there's not much of another way 2026-01-04 18:25:33 -07:00
54cdd85015 coords 2026-01-04 13:06:36 -07:00
d784770ca9 wayland: popup positioning 2026-01-04 13:01:50 -07:00
12f279e83a wayland: ensure every event callback uses the mutex 2026-01-04 11:40:34 -07:00
a148b3bedf wayland: use mutexes to ensure that MwLLDestroyImpl never conflicts with wayland events. 2026-01-03 18:27:34 -07:00
bed668b84a wayland: fix misc. crashes on the destruction of widgets 2026-01-02 14:19:48 -07:00
f32f6cefc0 wayland: accidentally removed event_loop call from MwLLNextEventImpl 2025-12-30 22:44:04 -07:00
f3683dece3 undo HAS_OPENGL stuff 2025-12-30 22:38:01 -07:00
6946c1eaf3 wayland: opengl support 2025-12-30 22:26:19 -07:00
324257c43f wayland: no pthreads needed 2025-12-30 19:15:33 -07:00
bed63dd245 clipboard: fix syntax 2025-12-30 17:14:39 -07:00
67bd6029af wayland: finish clipboard 2025-12-30 17:12:12 -07:00
a384add9e9 wayland: properly do MwLLPending and MwLLNextEvent 2025-12-18 23:50:03 -07:00
6123fd1304 wayland: implement tool windows. add destructors for protocols 2025-12-18 23:32:51 -07:00
b7488b9440 wayland: seperate MwLLPending and MwLLNextEvent 2025-12-18 19:59:40 -07:00
18511dec2f wayland: remove a few unused fields 2025-12-18 18:27:44 -07:00
59ff6f1008 wayland: add icon support 2025-12-18 18:21:57 -07:00
a27a01ce41 wayland: MwLLGetClipboardImpl. 2025-12-18 17:46:23 -07:00
b0f4713ff1 wayland: remove unused cursor_shape 2025-12-18 13:46:22 -07:00
8d4e845e7c wayland: MwLLGetScreenSize 2025-12-18 13:43:45 -07:00
aeaf0a4547 wayland: MwLLGetCursorCoordImpl 2025-12-18 13:16:16 -07:00
d8c08f80d6 wayland: cursor support 2025-12-18 13:15:03 -07:00
c6e7421b31 wayland: key modifiers 2025-12-18 11:36:04 -07:00
a815998ace wayland: fix pointer 2025-12-18 11:26:51 -07:00
72fbba1a74 force aliasing 2025-12-18 12:24:06 +09:00
b8a92f4ae0 wayland: buffer destroy/recreate in SetWHImpl too 2025-12-17 19:44:15 -07:00
724b008220 impl resizing in wayland 2025-12-17 19:41:05 -07:00
320de34ce8 remove opengl from wayland in favor of cairo 2025-12-17 19:14:54 -07:00
9a4c74ad93 Unfinished Wayland PR (#1)
moved from the github repo.

current progress:

<img width="389" alt="image.png" src="attachments/6a2cb365-7348-44b4-8fa7-9980df965a67">

Other notes:

- took the opportunity to remove MwLLSetBackground which I was told was deprecated
- Updated .gitignore to more accurately cover/remove example binaries
- Uses OpenGL as the backend.
- New LL function for swapping buffers, MwLLEndDraw
- [TODO] Uses weak linking for all libraries so that systems that don't support Wayland or even have it installed can launch without it.

Reviewed-on: https://gitea.nishi.boats/pyrite-dev/milsko/pulls/1
Co-authored-by: IoIxD <alphaproject217@gmail.com>
Co-committed-by: IoIxD <alphaproject217@gmail.com>
2025-12-09 20:11:01 -06:00