Monarch has two windows, the Controller and the Preview. On macOS and Windows, we keep those two windows "docked" to each other. We haven't implemented that feature on Linux yet.
We are hoping to get help from the community on this issue.
These are the high-level requirements:
- When the Monarch windows launch, the default docking should be "Dock to right", and the Preview should be docked to the right of the Controller
- When the user moves one window, the other docked window should follow
- When the user selects "Dock to left", the Preview should move to the left of the Controller
- When the user selects "Undock", moving one window should not move the other window
Since Monarch already implements this feature on macOS and Windows, then we can use that code as a model.
On macOS, see platform/macos/monarch_macos/WindowManager.swift, function setDocking:
On Windows, see platform/windows/src/window_manager.cpp, function setDocking:
|
void PreviewWindowManager::setDocking() |
Monarch has two windows, the Controller and the Preview. On macOS and Windows, we keep those two windows "docked" to each other. We haven't implemented that feature on Linux yet.
We are hoping to get help from the community on this issue.
These are the high-level requirements:
Since Monarch already implements this feature on macOS and Windows, then we can use that code as a model.
On macOS, see
platform/macos/monarch_macos/WindowManager.swift, functionsetDocking:monarch/platform/macos/monarch_macos/WindowManager.swift
Line 316 in 46d4f79
On Windows, see
platform/windows/src/window_manager.cpp, functionsetDocking:monarch/platform/windows/src/window_manager.cpp
Line 201 in 46d4f79