diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-11-26 11:38:17 +0200 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-11-26 11:38:17 +0200 |
| commit | 6303fa308777ae13de9ab4e0fc556199043b6328 (patch) | |
| tree | 4e1dee9355be352cf1a71a4e410ef4947af380b2 /src | |
| parent | 4b77e8d7dd133e9512256bfe134ed5fa881ec744 (diff) | |
| download | i3bar-mango-6303fa308777ae13de9ab4e0fc556199043b6328.tar.gz | |
fix "surface was destroyed before its role object" error
Diffstat (limited to 'src')
| -rw-r--r-- | src/bar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,13 +87,13 @@ impl Bar { } pub fn destroy(self, conn: &mut Connection<State>) { - self.output.destroy(conn); - self.surface.destroy(conn); self.layer_surface.destroy(conn); self.viewport.destroy(conn); if let Some(fs) = self.fractional_scale { fs.destroy(conn); } + self.surface.destroy(conn); + self.output.destroy(conn); } pub fn set_tags(&mut self, tags: Vec<Tag>) { |
