Conversation
twaik
force-pushed
the
multi-window-additional-displays
branch
3 times, most recently
from
September 18, 2026 07:41
fbea8e9 to
1f88620
Compare
twaik
force-pushed
the
multi-window-additional-displays
branch
from
September 29, 2026 20:51
e5560e1 to
d5e59a6
Compare
Adds "-tag <tag>" to open an X display as its own Android window, reusing the same tag brings it back to front instead of duplicating it. Tagged windows launch in freeform and drop from Recents once closed. MainActivity tracks windows by tag instead of a single static instance, including tags an X server has announced but not opened a window for yet. A "Displays" button lists these and switches to them, using the same intoExisting relaunch path as "-tag" itself. Tagged intents delivered to an already-running MainActivity are also handled via onNewIntent, since MainActivity is singleInstance. ACTION_STOP and ACTION_CUSTOM broadcasts are routed to the window that sent them instead of always the default one; ACTION_PREFERENCES_CHANGED is broadcast to every open window. KeyInterceptor tracks pressed keys per owning window.
twaik
force-pushed
the
multi-window-additional-displays
branch
from
September 29, 2026 21:45
d5e59a6 to
93ea60b
Compare
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.
Adds "-tag " to open an X display as its own Android window, reusing the same tag brings it back to front instead of duplicating it.
MainActivity tracks windows by tag instead of a single static instance. KeyInterceptor tracks pressed keys per owning window.