Open
Conversation
ZXShady
reviewed
Nov 28, 2025
| //////////////////////////////////////////////////////////// | ||
| struct FilesDropped | ||
| { | ||
| std::vector<String> filenames; //!< Files which were dropped |
Contributor
There was a problem hiding this comment.
why isn't it a std filesystem path?
Contributor
Author
There was a problem hiding this comment.
Presumably just because this was originally targeting SFML 2
Contributor
Member
I'd like to release 3.1 soon and event/input/window improvements will be the primary focus of SFML 3.2. |
Contributor
Author
|
I've rebased onto latest master and removed the xwayland check - I guess it was working without the x11 window atom being set, but comments indicate it may crash, so curious if you can test that. If it does still crash then I can add the check again but without the error message |
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.

Rebased #2265 on latest master and addressed only outstanding review point I could see (removing some commented out code that I assume was left from earlier testing)
Updated the event handling example to be able to test this event
Have tested on mac and windows, but don't have access to a linux machine with a GUI
closes #3565
Tasks
How to test this PR?
Run the event handling example and drop some files into the window - the file path(s) will be shown in the log