Skip to content

feat(lorie): support additional X displays as separate Android windows - #1123

Open
twaik wants to merge 1 commit into
masterfrom
multi-window-additional-displays
Open

twaik wants to merge 1 commit into
masterfrom
multi-window-additional-displays

Conversation

@twaik

@twaik twaik commented Sep 14, 2026

Copy link
Copy Markdown
Member

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.

@twaik
twaik force-pushed the multi-window-additional-displays branch 3 times, most recently from fbea8e9 to 1f88620 Compare September 18, 2026 07:41
@twaik
twaik force-pushed the multi-window-additional-displays branch from e5560e1 to d5e59a6 Compare September 29, 2026 20:51
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
twaik force-pushed the multi-window-additional-displays branch from d5e59a6 to 93ea60b Compare September 29, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant