1
0
Fork 0
forked from wry/wry

tree: activate workspace on click

This commit is contained in:
Julian Orth 2022-05-17 18:58:30 +02:00
parent 70cc24107b
commit 858e777f5a
7 changed files with 127 additions and 13 deletions

View file

@ -114,10 +114,10 @@ impl Renderer<'_> {
let c = theme.colors.unfocused_title_background.get();
self.fill_boxes2(&rd.inactive_workspaces, &c, x, y);
for title in &rd.titles {
self.render_texture(&title.tex, x + title.x, y + title.y, ARGB8888);
self.render_texture(&title.tex, x + title.tex_x, y + title.tex_y, ARGB8888);
}
if let Some(status) = &rd.status {
self.render_texture(&status.tex, x + status.x, y + status.y, ARGB8888);
self.render_texture(&status.tex, x + status.tex_x, y + status.tex_y, ARGB8888);
}
}
if let Some(ws) = output.workspace.get() {