Fixed minimizing fullscreen windows.
Removed misleading hide/unhide Cocoa notifications. We have no way of knowing when a Cocoa window is maximized and then restored (right?) Disabled spamy mouse motion events by default.
This commit is contained in:
parent
ade868c17f
commit
99de5726b1
4 changed files with 34 additions and 37 deletions
|
@ -810,6 +810,11 @@ CommonInit(CommonState * state)
|
|||
static void
|
||||
PrintEvent(SDL_Event * event)
|
||||
{
|
||||
if (event->type == SDL_MOUSEMOTION) {
|
||||
/* Mouse motion is really spammy */
|
||||
return;
|
||||
}
|
||||
|
||||
fprintf(stderr, "SDL EVENT: ");
|
||||
switch (event->type) {
|
||||
case SDL_WINDOWEVENT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue