Commit Graph

7386 Commits

Author SHA1 Message Date
Ethan Lee
be5356af93 winrt: Fix support for multiple simultaneous mouse button presses 2021-05-14 13:33:59 -07:00
Sylvain
62a562dea2
X11: use x11sym loaded functions (see bug #3978) 2021-05-12 23:37:18 +02:00
Sylvain
531d83bf6a
X11: allow using touchscreen, while pointer is grabbed (see bug #3978) 2021-05-12 23:13:48 +02:00
Cacodemon345
ddc6be3559 KMSDRM on Dragonfly BSD doesn't work without being root 2021-05-12 09:26:23 -07:00
Kimplul
9e1d7baef1 Added T300RS to known wheel list 2021-05-12 09:25:57 -07:00
Ryan C. Gordon
e1db4b82ec
egl: Don't crash if we failed halfway through SDL_CreateWindow. 2021-05-11 14:08:17 -04:00
Ethan Lee
f2f451a59d wayland: Call SetWindowBordered at the end of ShowWindow 2021-05-10 11:11:38 -07:00
Fredrick Brennan
c5dd9964c1 Copied X11 error handler code from SDL_x11opengl.c
Avoids needing to malloc to hold the error string.
2021-05-10 13:31:39 -04:00
Fredrick Brennan
b3b4677e32 (X11) Set _NET_WM_NAME properly, fixes Unicode window titles
Removes deprecated code meant to support extremely ancient, pre-UTF-8
versions of Xorg. Uses new xlib API's for doing this same thing.

Closes #4288.
2021-05-10 13:31:39 -04:00
Ryan C. Gordon
f4ab1c94f9
gamecontrollerdb: Add entry for the 8BitDo Receiver for Linux.
Fixes #3048.
2021-05-10 13:08:34 -04:00
Ryan C. Gordon
bedc509afc
gamecontrollerdb: added entry for PowerA XBox One Controller for Linux.
Fixes #3910.
2021-05-10 13:04:59 -04:00
Ethan Lee
efbb6ff9d7 wayland: Create the server decorations after the toplevel has been configured 2021-05-10 12:49:26 -04:00
Ryan C. Gordon
9dc97afa71 cocoa: Report an error if SDL_SetClipboardText() isn't using UTF-8 encoding.
Fixes #4110.
2021-05-08 12:39:50 -04:00
Sam Lantinga
107db2d899 Enable TV game mode by default on Android 2021-05-07 12:43:35 -07:00
Sam Lantinga
9231f1f1cf Added support for the PS5 controller on iOS and tvOS 2021-05-07 12:29:03 -07:00
Sam Lantinga
2ad73db6e2 Merge commit '889cebb7c20d4195e5d4ac344a2175f2490354cc' into main 2021-05-07 12:28:57 -07:00
Sam Lantinga
e589810cc4 Merge commit '31637ddeea1e302c77193341b2006d45dc54de98' into main 2021-05-07 12:28:55 -07:00
Sam Lantinga
6d4991b87b Merge commit 'f309d0649d37022ad49bc468c77dd87bf82f261b' into main 2021-05-07 12:28:53 -07:00
Sam Lantinga
e8eb0b15fe Merge commit '58884e4c1bb455db90a35df3f7480cfd355eb8c6' into main 2021-05-07 12:28:51 -07:00
Sam Lantinga
19a9e81c32 Merge commit 'c69fde348fafcb90200a148b711137c464ffa7de' into main 2021-05-07 12:28:50 -07:00
Sam Lantinga
71e45a0b9d Merge commit '006378b9213e3e04ea2b9c591afe2a44e75e6867' into main 2021-05-07 12:28:48 -07:00
Sam Lantinga
981532fbd2 Merge commit '424bbaec069f0d94857095dcdfacba6246282936' into main 2021-05-07 12:28:47 -07:00
Sam Lantinga
95b7b879ee Merge commit '20928550350d4d4c5d78f98b61e7e08d219a5475' into main 2021-05-07 12:28:45 -07:00
Sam Lantinga
8b8956daa7 Merge commit '3d47ddc422de1a4209525a759b3bc46a4ac69116' into main 2021-05-07 12:28:43 -07:00
Sam Lantinga
069a68a5c5 Merge commit '7b284dbb34a8c34f5d6f79c58c860c9f7894fd56' into main 2021-05-07 12:28:42 -07:00
Sam Lantinga
12b7b82169 Merge commit '9161f95166f3d8e42248c1156e35255d4ebdc6a0' into main 2021-05-07 12:28:40 -07:00
Sam Lantinga
2b203add29 Merge commit 'c54c16d353f206162cdbb125c0847b4645e096a3' into main 2021-05-07 12:28:38 -07:00
Sam Lantinga
1e208c6418 Merge commit '227021b6470d07f86e209d89f176ec8e6d952a17' into main 2021-05-07 12:28:37 -07:00
Sam Lantinga
f1fa836b2e Merge commit '13472cec6764aec2e06a3c66ec1b139baa680aa3' into main 2021-05-07 12:28:35 -07:00
Sam Lantinga
cf1e850303 Merge commit 'a74f888ff9ed1254e9b9965a27d68e0526e2c0f8' into main 2021-05-07 12:28:33 -07:00
Sam Lantinga
63015e44c7 Merge commit '8ac0fb52cb13e5856aa7f4a3fd0598d3ec58283f' into main 2021-05-07 12:28:32 -07:00
Sam Lantinga
0ebf56b5f1 Merge commit '1f3df900f919e7177e480e63c07447db232564a1' into main 2021-05-07 12:28:30 -07:00
Sam Lantinga
5a95ff8002 Merge commit 'fcbf19b764a9f6fed1db6a1d79a2f2f3fa1338d6' into main 2021-05-07 12:28:28 -07:00
Sam Lantinga
572dfb4f6e Merge commit 'c93e3b36074ddb2ed986cbacc5e9d4f3a60db343' into main 2021-05-07 12:28:27 -07:00
Sam Lantinga
a734ccec9a Merge commit 'b62642974595976a0c47c5b854eea51b2703fbeb' into main 2021-05-07 12:28:25 -07:00
Sam Lantinga
4c7f8a7497 Merge commit 'f8695185331460106f34286ebe466cb605f85bb6' into main 2021-05-07 12:28:23 -07:00
Sam Lantinga
9cf1b39162 Merge commit '21349901ea250483600cbe4771d865cc06f6b538' into main 2021-05-07 12:28:22 -07:00
Henk Kalkwater
889cebb7c2 Wayland touch inputs send normalized coords
Resolves #4361
2021-05-05 15:20:42 -07:00
Nicolas Caramelli
31637ddeea Generic check for desktop GL and EGL on Linux systems 2021-05-05 15:19:55 -07:00
Ethan Lee
f309d0649d include: Document timing issue with SDL_GetWindowBordersSize 2021-05-04 13:16:13 -04:00
Ozkan Sezer
58884e4c1b SDL_audiocvt.c: fixed MSVC double->float conversion warnings. 2021-05-04 00:23:40 +03:00
Ethan Lee
c69fde348f wayland: Maximize/Restore should set the relevant window flags.
Also, Maximize should be ignored for fixed-size windows.
2021-05-02 19:03:32 -04:00
Christian Rauch
006378b921 fix NULL frame_callback access 2021-05-02 14:07:40 -04:00
Christian Rauch
424bbaec06 wayland: destroy frame callback when window is destroyed 2021-05-01 14:19:25 -04:00
Ethan Lee
2092855035 wayland: Guard surface_frame_listener for OpenGL, document why it exists 2021-05-01 13:27:12 -04:00
Ethan Lee
3d47ddc422 wayland: Use refresh_rate to calculate max_wait in SwapWindow 2021-05-01 13:27:12 -04:00
Sylvain
7b284dbb34
EglChooseConfig: choose an accelerated configuration
- especially because we can be promoted to true color 888
  make sure we don't select a potentially software implementation

- hopefully fix bug #1482 (EGL ChooseConfig selects software renderer on Android)
2021-04-30 22:01:48 +02:00
Ethan Lee
9161f95166 egl: Reject attempts to set negative swap intervals 2021-04-30 13:24:01 -04:00
Ryan C. Gordon
c54c16d353
wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us.
If you hide a window on Mutter, for example, the compositor never requests
new frames, which will cause Mesa to block forever in eglSwapBuffers to
satisfy the swap interval.

We now always set the swap interval to 0 and manage this ourselves, handing
the frame to Wayland when it requests a new one, and timing out at 10fps just
to keep apps moving if the compositor wants no frames at all.

My understanding is that other protocols are coming that might improve upon
this solution, but for now it solves the total hang.

Fixes #4335.
2021-04-30 13:20:35 -04:00
Ozkan Sezer
227021b647 SDL_windowsmessagebox.c (MessageBoxDialogProc): fix calling convention. 2021-04-30 11:25:20 +03:00