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: 2.0.3 Reported for operating system, platform: Mac OS X (All), x86
Comments on the original bug report:
On 2015-08-27 09:28:23 +0000, John Wordsworth wrote:
Created attachment 2254
Patch to OSX input event management to work with CEF.
While attempting to integrate CEF (Browser) into an SDL application, we noticed that there were problems on OS X where approximately 50% of the input events were essentially being lost - even when we were using off-screen rendering in CEF and passing through input events manually.
Please consider the following patch that fixes this issue. Instead of processing events directly after calling [NSApp nextEventMatchingMask:...] we now pass these events down to NSApp, for processing by an overloaded sendEvent: method. Chromium also forwards events to NSApp in the same way, which means we don't miss events, even if they were originally dequeued by CEF.
Apologies if I have not submitted this request in the correct manner - it is my first patch for SDL!
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.3
Reported for operating system, platform: Mac OS X (All), x86
Comments on the original bug report:
On 2015-08-27 09:28:23 +0000, John Wordsworth wrote:
On 2016-10-01 21:35:11 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: