Check-in [c406aa0875]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:add selected SDL2 upstream changes
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c406aa0875c274d01d94954b3fcc7c896b7015d0
User & Date: chw 2019-12-04 09:26:53.878
Context
2019-12-04
09:39
add tip#496 implementation backported from tk trunk check-in: d2bff13257 user: chw tags: trunk
09:26
add selected SDL2 upstream changes check-in: c406aa0875 user: chw tags: trunk
06:46
add selected tk upstream changes check-in: 90b29fd7e9 user: chw tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to jni/SDL2/src/video/x11/SDL_x11events.c.
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
    SDL_IME_SetFocus(SDL_FALSE);
#endif
}

static void
X11_DispatchMapNotify(SDL_WindowData *data)
{
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_SHOWN, 0, 0);
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_RESTORED, 0, 0);
}

static void
X11_DispatchUnmapNotify(SDL_WindowData *data)
{
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_HIDDEN, 0, 0);
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_MINIMIZED, 0, 0);







|
|







429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
    SDL_IME_SetFocus(SDL_FALSE);
#endif
}

static void
X11_DispatchMapNotify(SDL_WindowData *data)
{
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_RESTORED, 0, 0);
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_SHOWN, 0, 0);
}

static void
X11_DispatchUnmapNotify(SDL_WindowData *data)
{
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_HIDDEN, 0, 0);
    SDL_SendWindowEvent(data->window, SDL_WINDOWEVENT_MINIMIZED, 0, 0);