You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: Mac OS X (All), x86_64
Comments on the original bug report:
On 2014-10-19 18:58:34 +0000, Alex Szpakowski wrote:
Created attachment 1907
Patch to allow users to drop files onto SDL windows in OS X
SDL's Cocoa code currently triggers SDL_DROPFILE events when the user drops a file onto the application's icon, but another idiomatic way for OS X users to drag-and-drop files is to put the file directly inside the window's frame.
I have attached a patch which adds that functionality to SDL's Cocoa video backend.
On 2014-10-20 05:38:24 +0000, Alex Szpakowski wrote:
Created attachment 1909
Updated patch to allow users to drop files onto SDL windows in OS X
The previous patch didn't handle OS X alias files. I've attached a new updated patch which does.
On 2014-11-24 19:42:18 +0000, Jørgen Tjernø wrote:
if (isAlias != nil && [isAlias boolValue]) {
Just using [isAlias boolValue] is cleaner -- calling any method on nil returns nil, which is a false value.
Other than that, it LGTM. I can merge and make that change.
On 2014-11-24 19:48:01 +0000, Jørgen Tjernø wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Patch to allow users to drop files onto SDL windows in OS X (SDL_windowdrop.diff, text/plain, 2014-10-19 18:58:34 +0000, 2694 bytes)Reported in version: HG 2.0
Reported for operating system, platform: Mac OS X (All), x86_64
Comments on the original bug report:
On 2014-10-19 18:58:34 +0000, Alex Szpakowski wrote:
On 2014-10-20 05:38:24 +0000, Alex Szpakowski wrote:
On 2014-11-24 19:42:18 +0000, Jørgen Tjernø wrote:
On 2014-11-24 19:48:01 +0000, Jørgen Tjernø wrote:
The text was updated successfully, but these errors were encountered: