diff --git a/src/layer_shell.rs b/src/layer_shell.rs index b697f7b..6954e62 100644 --- a/src/layer_shell.rs +++ b/src/layer_shell.rs @@ -55,6 +55,9 @@ impl WlClient { self.socket.write(&request)?; + self.wl_surface_attach()?; + self.wl_surface_commit()?; + Ok(()) } diff --git a/src/wl_registry.rs b/src/wl_registry.rs index 9a6027b..2affd81 100644 --- a/src/wl_registry.rs +++ b/src/wl_registry.rs @@ -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(())