MCPcopy
hub / github.com/paperwm/PaperWM / positionChangeHandler

Function positionChangeHandler

tiling.js:3677–3684  ·  view source on GitHub ↗
(metaWindow)

Source from the content-addressed store, hash-verified

3675}
3676
3677export function positionChangeHandler(metaWindow) {
3678 // don't update saved position if fullscreen
3679 if (metaWindow.fullscreen || metaWindow?._fullscreen_lock) {
3680 return;
3681 }
3682
3683 saveFullscreenFrame(metaWindow);
3684}
3685
3686export function resizeHandler(metaWindow) {
3687 // if navigator is showing, reset/refresh it after a window has resized

Callers

nothing calls this directly

Calls 1

saveFullscreenFrameFunction · 0.85

Tested by

no test coverage detected