дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 11:15:40 +02:00
fix(windows): de-parent settings window on Windows so DWM paints its shadow
An owned child (WS_POPUP) of a borderless parent gets no DWM shadow, leaving the frameless settings window flat against its project window. Ownership is already tracked by the settings-<parent> label (parent-close cleanup in on_window_event, menu modality), so make the settings window top-level on Windows; macOS and Linux keep the native parent link.
Цей коміт міститься в:
1 джерело
8ea8c98a39
коміт
795f8e85f1
2 files changed
+11
-5
No files matched your search
@@ -1,8 +1,10 @@
|
||||
/**
|
||||
* Settings window ↔ its project window.
|
||||
*
|
||||
* Settings live in a native child window `settings-<parent>` (see
|
||||
* src-tauri/src/windows.rs) that only runs the settings pages. The action
|
||||
* Settings live in a separate window `settings-<parent>` (see
|
||||
* src-tauri/src/windows.rs) that only runs the settings pages (a native
|
||||
* child of the parent on macOS/Linux; top-level on Windows so DWM paints
|
||||
* its shadow). The action
|
||||
* registry stays in the project window: it sends the settings window a
|
||||
* description of every action (Keymap page, links that run actions) and runs
|
||||
* the actions the settings window forwards.
|
||||
|
||||
Reference in new issue
Заблокувати користувача