-
Notifications
You must be signed in to change notification settings - Fork 519
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
gtk: implement dropping files and strings #4211
Conversation
c5053f6
to
5663d63
Compare
Note, there seem to be some oddities with how Firefox and Chrome (and Chrome-based Electron apps) do drag and drop as I haven't been able to get those working yet. Firefox and/or GTK seems to be broken because I can't drag a text selection from Firefox to the Gnome Text Editor either. |
5663d63
to
457fa11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know when you want a further review.
457fa11
to
0442bd7
Compare
0442bd7
to
18d3cbf
Compare
From my perspective this looks good to go. |
18d3cbf
to
453e89c
Compare
OK, this should be ready to go! |
453e89c
to
e7c71df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One easy request but otherwise looks great. Thanks!
1b43ec9
to
c85c277
Compare
This allows dropping files and strings onto Ghostty in the GTK apprt. If you drop files onto Ghostty it will be pasted as a list of shell-escaped paths separated by newlines. If you drop a string onto Ghostty it will paste the string. Normal rules for pasting (bracketed pasts, unsafe pastes) apply.