react-x11 2.39.0 → 2.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -243,5 +243,11 @@ export interface NtkApp {
243
243
  createWindow(args?: Record<string, unknown>): NtkWindow;
244
244
  rootWindow(screen?: number): NtkWindow;
245
245
  close(): Promise<void>;
246
+ /**
247
+ * The modifier shortcuts are pressed with on this backend: `'Super'` (⌘)
248
+ * on Cocoa, absent — Ctrl — everywhere else. Read it through
249
+ * `primaryModifierHeld` from `react-x11/keysyms`.
250
+ */
251
+ readonly primaryModifier?: 'Control' | 'Super';
246
252
  [key: string]: any;
247
253
  }