Commit Graph

29 Commits

Author SHA1 Message Date
IoIxD
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
IoIxD
54cdd85015 coords 2026-01-04 13:06:36 -07:00
IoIxD
d784770ca9 wayland: popup positioning 2026-01-04 13:01:50 -07:00
IoIxD
12f279e83a wayland: ensure every event callback uses the mutex 2026-01-04 11:40:34 -07:00
IoIxD
a148b3bedf wayland: use mutexes to ensure that MwLLDestroyImpl never conflicts with wayland events. 2026-01-03 18:27:34 -07:00
IoIxD
bed668b84a wayland: fix misc. crashes on the destruction of widgets 2026-01-02 14:19:48 -07:00
IoIxD
f32f6cefc0 wayland: accidentally removed event_loop call from MwLLNextEventImpl 2025-12-30 22:44:04 -07:00
IoIxD
f3683dece3 undo HAS_OPENGL stuff 2025-12-30 22:38:01 -07:00
IoIxD
6946c1eaf3 wayland: opengl support 2025-12-30 22:26:19 -07:00
IoIxD
324257c43f wayland: no pthreads needed 2025-12-30 19:15:33 -07:00
IoIxD
bed63dd245 clipboard: fix syntax 2025-12-30 17:14:39 -07:00
IoIxD
67bd6029af wayland: finish clipboard 2025-12-30 17:12:12 -07:00
IoIxD
a384add9e9 wayland: properly do MwLLPending and MwLLNextEvent 2025-12-18 23:50:03 -07:00
IoIxD
6123fd1304 wayland: implement tool windows. add destructors for protocols 2025-12-18 23:32:51 -07:00
IoIxD
b7488b9440 wayland: seperate MwLLPending and MwLLNextEvent 2025-12-18 19:59:40 -07:00
IoIxD
18511dec2f wayland: remove a few unused fields 2025-12-18 18:27:44 -07:00
IoIxD
59ff6f1008 wayland: add icon support 2025-12-18 18:21:57 -07:00
IoIxD
a27a01ce41 wayland: MwLLGetClipboardImpl. 2025-12-18 17:46:23 -07:00
IoIxD
b0f4713ff1 wayland: remove unused cursor_shape 2025-12-18 13:46:22 -07:00
IoIxD
8d4e845e7c wayland: MwLLGetScreenSize 2025-12-18 13:43:45 -07:00
IoIxD
aeaf0a4547 wayland: MwLLGetCursorCoordImpl 2025-12-18 13:16:16 -07:00
IoIxD
d8c08f80d6 wayland: cursor support 2025-12-18 13:15:03 -07:00
IoIxD
c6e7421b31 wayland: key modifiers 2025-12-18 11:36:04 -07:00
IoIxD
a815998ace wayland: fix pointer 2025-12-18 11:26:51 -07:00
NishiOwO
72fbba1a74 force aliasing 2025-12-18 12:24:06 +09:00
IoIxD
b8a92f4ae0 wayland: buffer destroy/recreate in SetWHImpl too 2025-12-17 19:44:15 -07:00
IoIxD
724b008220 impl resizing in wayland 2025-12-17 19:41:05 -07:00
IoIxD
320de34ce8 remove opengl from wayland in favor of cairo 2025-12-17 19:14:54 -07:00
IoIxD
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