MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / constructor

Method constructor

packages/config/src/window-manager.ts:2901–2913  ·  view source on GitHub ↗
(
    index: number,
    monitor: string,
    naturalRootRect: (window: WaylandWindow) => ManagedWindowRect,
    maximizedRootRect: (window: WaylandWindow) => ManagedWindowRect,
    activeWorkspaceIndex: (monitor: string) => number,
  )

Source from the content-addressed store, hash-verified

2899 y: output.position.y,
2900 width: output.resolution.width / output.scale,
2901 height: output.resolution.height / output.scale,
2902 };
2903 }
2904 return rect;
2905 }
2906
2907 public onWindowFullscreenRequest(event: WindowFullscreenRequestEvent) {
2908 if (this.isGrabbing) {
2909 return;
2910 }
2911 const window = event.window;
2912 const workspace = this.findWorkspaceForWindow(window);
2913 window.state[WINDOW_STATE_MINIMIZED].set(false);
2914 this.clearWindowSnapState(window);
2915
2916 if (!event.fullscreen) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected