Linux: fix island placement on GNOME and other desktops without layer… - #152
Open
mojahid2021 wants to merge 2 commits into
Open
mojahid2021 wants to merge 2 commits into
mojahid2021 wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to how the "island" window is positioned and displayed on Linux, especially in GNOME and other environments lacking layer-shell support. The changes ensure the island is placed just below the top panel (rather than over it), improve backend selection for correct window placement, and avoid unwanted desktop space reservation. There are also updates to documentation and versioning.
Linux window placement and backend selection:
waylandorx11) at startup, ensuring the island window is anchored correctly depending on compositor and layer-shell support. This includes honoring a newCOUCOU_GDK_BACKENDoverride and falling back to X11 when layer-shell is unavailable but an X server is reachable.avoid_panelsandtop_panel_heightfunctions to handle panel avoidance and correct vertical placement, with platform-specific no-ops for Windows. [1] [2] [3]Documentation and configuration:
windows/README.mdto clarify the island's behavior on different Linux compositors, backend selection logic, and how the window is placed relative to top panels.Testing and maintenance:
Versioning:
0.1.0to0.1.1inpackage-lock.json.