fix(app): restore on_context_drawer functionality that was removed in 59a913c

This commit is contained in:
Jeremy Soller 2024-04-26 10:22:51 -06:00
parent e556148942
commit 42cfdbf585
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 6 additions and 0 deletions

View file

@ -369,6 +369,7 @@ impl<T: Application> Cosmic<T> {
Message::ContextDrawer(show) => {
self.app.core_mut().window.show_context = show;
return self.app.on_context_drawer();
}
Message::Drag => return command::drag(Some(self.app.main_window_id())),