- Update the main window close behavior to use `windowManager.destroy()` for proper app termination.
- Enhance cursor management in `SkinCursorsGate` to prevent stale cursor states during rapid enter/exit events.
- Improve sub-window control channel registration to ensure readiness before main window updates.
- Simplify the drag logic for sub-windows, ensuring only the dragged window moves independently.
- Add diagnostics for mouse events in macOS to aid in debugging drag behavior.
- Refactor docking logic to ensure proper vertical-only docking behavior and improve test coverage for window interactions.
- Update tests to reflect changes in docking behavior and ensure accurate movement tracking for main and sub-windows.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
- Added WindowDragController to manage custom dragging of sub-windows.
- Integrated dragging logic into EqWindow and PlWindow, allowing for smooth window movement.
- Introduced docking logic to snap windows together and maintain their positions relative to each other.
- Implemented persistence of window positions using SharedPreferences.
- Enhanced AppDelegate to support screen bounds and mouse location retrieval for accurate window positioning.
- Updated pubspec.yaml to include screen_retriever dependency.
- Added comprehensive tests for dock controller and dock logic to ensure correct behavior during window interactions.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
- Added `dartamp_skin` as a local dependency in `pubspec.yaml`.
- Updated `path_provider` to version ^2.1.5.
- Modified `test_driver/app.dart` to initialize `SkinManager` and pass it to `DartampApp`.
- Updated `generated_plugins.cmake` to include `jni` in the FFI plugin list.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
- Registered DesktopMultiWindowPlugin, ScreenRetrieverWindowsPluginCApi, and WindowManagerPlugin in generated_plugin_registrant.cc.
- Updated generated_plugins.cmake to include new plugins in the build configuration.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>