* Disable tooltips if using gamescope / Steam Deck.
On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.
This effect is quite jarring, and I don't like it. This patch adds a
small global event filter which swallows up the tool tip events. It is
currently not configurable, although I suppose that could be an option.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Move tooltip filter addition from the Main Window to the Application.
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Add license information to new files
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Remove other authors, they should not have been added in the first place
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Correct the years as well
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.cpp
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
* Update launcher/ui/ToolTipFilter.h
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
---------
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
On most systems supporting Unix sockets, the maximum length of a socket name is quite low (e.g. on macOS 104 characters and on Linux 108). If the name is too long, the sockets will not work and thus sending messages to a running instance of the launcher will not work.
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>