Commit Graph

23 Commits

Author SHA1 Message Date
1efb3f661b Parse keysyms from xkb config and interpret key in wl_keyboard.key 2025-05-11 18:20:15 -07:00
a7c2956313 mmap fd received from wl_keyboard.keymap 2025-05-09 01:45:37 -07:00
bde60fff90 read_loop now happens on its own thread, replace WlClient::new() with blocking run() 2025-05-08 00:32:17 -07:00
375b44beee current_id, registry_id, and ShmPool are atomic 2025-05-06 11:57:35 -07:00
293e03e500 Graphics namespace includes rectangle, rounded rectangle, and circle
Also added methods to make writing to shm pool easier
2025-04-27 01:12:29 -07:00
1e5be37996 Move all wayland files into wayland namespace 2025-04-26 02:14:08 -07:00
970c59edee Bind wlr layer shell global and get layer surface 2025-04-24 22:38:25 -07:00
0be889b758 Create wl_surface object and attach already created wl_buffer to it 2025-04-24 01:29:54 -07:00
097a90c3dc Move WlClient::{new, read_event} from main.rs to wl_client.rs 2025-04-23 16:35:15 -07:00
eef2bfdc97 Move wl::{display, error}, wl_registry::{global, bind} from main.rs to wl_registry.rs 2025-04-23 16:25:21 -07:00
b6b3cefd2d Move format, create_pool, and create_buffer to wl_shm.rs 2025-04-23 13:20:08 -07:00
0d2db8f288 Move WlHeader trait and impl from main.rs to vec_utils.rs 2025-04-23 13:03:23 -07:00
2918fc9d30 Use object oriented WlClient instead of WlState 2025-04-22 18:32:35 -07:00
ad72c2855e Create wl_buffer 2025-04-21 14:32:56 -07:00
7369c5f813 Create and map shared memory pool with libc 2025-04-03 13:38:12 -07:00
07e8089787 Print errors and bind to wl_shm 2025-03-26 11:50:59 -07:00
4402df8495 Use WlEvent trait to abstract read_u32 and read_string 2025-03-25 13:21:05 -07:00
857b40dda4 Read globals from wl_registry::global 2025-03-24 15:44:06 -07:00
4e9d63d415 Use WlHeader struct instead of reading bytes from buffer every time 2025-03-24 15:41:32 -07:00
1003a3a4ed Use WlState struct to hold commonly used values 2025-03-24 10:59:59 -07:00
59def83bf3 Get wl_registry global object 2025-03-24 10:13:31 -07:00
6a0b47c57e Connect to wayland socket 2025-03-24 10:11:57 -07:00
a5c757169f Initial commit 2025-03-24 10:07:27 -07:00