turn desktop context into Rc<DesktopContext>

This commit is contained in:
Andrew Collins committed 2023-04-11 11:03:46 -04:00
1 parent a5c46b0e5c
commit 0e1f015b78
3 files changed
+24 -19

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ pub struct ShortcutId {
/// A global shortcut. This will be automatically removed when it is dropped.
pub struct ShortcutHandle {
desktop: DesktopContext,
desktop: Rc<DesktopContext>,
/// The id of the shortcut
pub shortcut_id: ShortcutId,
}