- Implemented for X11 only, using poorly documented and apparently non-standard, yet widely supported _NET_WM_WINDOW_OPACITY atom.
- Symmetric (Set/Get) API is provided, but only setting is actually implemented (we aren't getting it, so no way to test anyway).
- Binary SDL libraries have been rebuilt.
[CL 2323467 by Dmitry Rekman in Main branch]
- Ignore focus notifications altogether (for now?) and track clicks only.
- Also fix the error of never passing any other value than Deactivate.
- Remove logspam.
[CL 2322018 by Dmitry Rekman in Main branch]
- Rebuilt bundled SDL with Xinerama/XRandR support.
- Fixed SDL_GetGlobalMouseState() which didn't do the right thing on my setup.
- Added code to populate (and log out) DisplayMetrics with monitor info, so Slate can position windows better.
[CL 2315517 by Dmitry Rekman in Main branch]
- Properly accounting for window decorations.
- Window activation happens on click now, not on window entry/leave.
- Alas, a minor hack in MenuAnchor to tentatively set cached position (needs to be fixed, see TTP #347674).
#codereview Nick.Atamas, Josh.Adams
[CL 2309395 by Dmitry Rekman in Main branch]
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr
[CL 2305058 by Max Preussner in Main branch]
- Get rid of dynamic lib and only build static ones (with -fPIC, too).
- Extend the library with a flag that allows "utility" windows (currently specific to X11 and uses different window type, as _SKIP_TASKBAR state is apparently ignored by KWin).
- Make tooltip/etc windows use the above flag.
[CL 2302731 by Dmitry Rekman in Main branch]
- Ugly hack to get obsolete GL stuff compiled for splash.
- LND binary added to noredist folder for now.
- A lot of pre-built binaries built on added.
[CL 2292785 by Dmitry Rekman in Main branch]
- Shader compiler manager now uses handles instead of PIDs (PIDs have numerous problems - can come and go without us noticing, can be reused, making us wait for a wrong process, have to be wait()ed for on Unix).
- Also, sprinkled handle closing logic into SCM code. SCM should be refactored to treat created processes like opened files and do not hold on to their handles indefinitely, but current code works too.
- A method to dispose of process handles added (CloseProc(), matching CreateProc()).
- Linux specific: IsProcRunning() will now wait() if it detects that child is a zombie, to allow higher level code holding on to process handles of no longer running processes without taking kernel resources.
#codereview Josh.Adams, Michael.Trepka, Jaroslaw.Surowiec, Rolando.Caloca, Marcus.Wassmer
[CL 2280961 by Dmitry Rekman in Main branch]
Headless programs (servers) may want to throw message boxes. Without this change, they would be failing early attempting to initialize SDL for that purpose (this actually happened when a plugin was missing from a server build), and the error message about SDL initialization failure is unhelpful to pinpoint the actual problem.
[CL 2277213 by Dmitry Rekman in Main branch]
- Allows access to display metrics before application object has been initialized, which is necessary to allow the game user settings preload function to correctly determine the right startup resolution for fullscreen modes.
Set fortnite default video mode to be windowed fullscreen
[CL 2264092 by Graeme Thornton in Main branch]
- New PlatformTearDown() function to correspond to PlatformInit(), called at AppExit() time (unguarded code).
- Linux-specific PlatformInitMultimedia() function (not part of generic platform abstraction) which handles multiple initialization of SDL and/or avoids it for certain targets.
- Fixes problem with SDL message box destroying SDL and ruining things later down the road.
#codereview Josh.Adams, Ankit.Khare, Michael.Trepka, Marcus.Wassmer, Pete.Knepley, Graeme.Thornton
[CL 2263609 by Dmitry Rekman in Main branch]