Fixed the issue where windows can't be moved on macOS in the docking branch.#8777
Fixed the issue where windows can't be moved on macOS in the docking branch.#8777Gemxi wants to merge 3 commits intoocornut:dockingfrom
Conversation
…branch. Sub-windows cannot be moved with multiple viewports.
When used with FreeType this value is passed as `face_index` which needs to be 32-bits. # Conflicts: # docs/CHANGELOG.txt
|
@Gemxi Since your your branch is based on the docking branch, you need to base your PR on the docking branch. You can change it by clicking the Edit button at the very top of this PR (it's up by the title of the PR.) |
I did. Thank you! |
|
Hello,
Sorry I seldomly use the Mac so it's difficult for me to understand what's going on here. |
|
For mouse events sent via Shouldn't the entire check just be this instead? // Only process events from windows containing an ImGui viewport
if (!ImGui::FindViewportByPlatformHandle((__bridge void*)event.window))
return false; |
|
It was my assumption in But I didn’t test any of this myself. Could you test Christian ? |
|
I booted the Mac and tested this, and pushed ee8fd53. Which matches my initial suggestion and @BingoXuan message posted (which I had overlooked) after I merged their initial version. |
Fixed the issue where windows can't be moved on macOS in the docking branch.
Sub-windows cannot be moved with multiple viewports.