WE'RE FINALLY PUTTING SHIT ON THE SCREEN

Attach wl_buffer to layer_surface and commit it
This commit is contained in:
2025-04-25 02:02:02 -07:00
parent 5034e0fc24
commit adacd7a2ab
2 changed files with 4 additions and 1 deletions

View File

@@ -55,6 +55,9 @@ impl WlClient {
self.socket.write(&request)?; self.socket.write(&request)?;
self.wl_surface_attach()?;
self.wl_surface_commit()?;
Ok(()) Ok(())
} }

View File

@@ -25,7 +25,7 @@ impl WlClient {
self.wl_shm_create_pool()?; self.wl_shm_create_pool()?;
self.wl_shm_pool_create_buffer(0, 200, 200)?; self.wl_shm_pool_create_buffer(0, 200, 200)?;
self.wl_surface_attach()?; // self.wl_surface_attach()?;
// self.wl_surface_commit()?; // self.wl_surface_commit()?;
Ok(()) Ok(())