config: add Window
This commit is contained in:
parent
ab095b89cf
commit
9977f9dfdf
19 changed files with 1172 additions and 203 deletions
|
|
@ -951,6 +951,13 @@ impl State {
|
|||
self.workspace_managers.clear();
|
||||
}
|
||||
|
||||
pub fn remove_toplevel_id(&self, id: ToplevelIdentifier) {
|
||||
self.toplevels.remove(&id);
|
||||
if let Some(config) = self.config.get() {
|
||||
config.toplevel_removed(id);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn damage_hardware_cursors(&self, render: bool) {
|
||||
for output in self.root.outputs.lock().values() {
|
||||
if let Some(hc) = output.hardware_cursor.get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue