Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix focus stealing prevention for --edit mode #9

Open
allisonkarlitskaya opened this issue Jan 23, 2023 · 1 comment
Open

fix focus stealing prevention for --edit mode #9

allisonkarlitskaya opened this issue Jan 23, 2023 · 1 comment

Comments

@allisonkarlitskaya
Copy link
Owner

boxi --edit will attempt to raise an existing window in the event that the file is already open. This currently doesn't work, because there's nothing to wire the timestamp from the user pressing the enter key through to boxi to be passed back (via D-Bus) to boxi to be allowed to raise its own window.

It's not clear what a good solution here would look like. This might require patching VTE, implementing some sort of OSC sequence, or some D-Bus service associated when the application window, in order to allow launched programs to get access to the timestamp of the most recent keystroke.

@allisonkarlitskaya
Copy link
Owner Author

Long running VTE discussion https://gitlab.gnome.org/GNOME/vte/-/issues/2125

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

No branches or pull requests

1 participant