* 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>
78 KiB
78 KiB