WE'RE FINALLY PUTTING SHIT ON THE SCREEN
Attach wl_buffer to layer_surface and commit it
This commit is contained in:
@@ -55,6 +55,9 @@ impl WlClient {
|
||||
|
||||
self.socket.write(&request)?;
|
||||
|
||||
self.wl_surface_attach()?;
|
||||
self.wl_surface_commit()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ impl WlClient {
|
||||
|
||||
self.wl_shm_create_pool()?;
|
||||
self.wl_shm_pool_create_buffer(0, 200, 200)?;
|
||||
self.wl_surface_attach()?;
|
||||
// self.wl_surface_attach()?;
|
||||
// self.wl_surface_commit()?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user