STEPS TO REPRODUCE
1. Open any game on a Wayland session (like 0AD)
2. Make it fullscreen
3. As an example, move the cursor to the top left corner (the default action is to show open windows)
Screen edge effect is triggered
It should work just like it does on X11. The screen edge effect shouldn't be triggered in fullscreen games that capture the mouse cursor. This is especially troublesome for RTS games like 0AD that allows moving the camera by touching the cursor on screen edges.
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-27-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Also affected with similar hardware, on Plasma 5.23.80
possibly duplicate of bug 441287
Not sure it's a direct duplicate, but definitely related.
I have had the same issue playing dota2 on wayland.
Git commit 946087ef37957055af40af3a8378d67d2ea69c0e by Aleix Pol.
Committed on 11/05/2022 at 14:54.
Pushed by apol into branch 'master'.
Inhibit edges when the active window is full screen by default
At the moment we trigger the edges even when the active window is full
screen which is unfortunate when running certain games, for example when
you're attacking the village at the north-east in Age of Empires and you
have the Overview effect on.
This changes the default to inhibit them (like we used to just do for
sides but not corners for some reason) and adds a checkbox to restore
them even in that case.
M +18 -2 src/kcmkwin/kwinscreenedges/kwinscreenedgeconfigform.cpp
M +5 -0 src/kcmkwin/kwinscreenedges/kwinscreenedgeconfigform.h
M +5 -0 src/kcmkwin/kwinscreenedges/kwinscreenedgesettings.kcfg
M +3 -0 src/kcmkwin/kwinscreenedges/main.cpp
M +43 -23 src/kcmkwin/kwinscreenedges/main.ui
M +5 -0 src/kwin.kcfg
M +16 -10 src/screenedge.cpp
M +3 -0 src/screenedge.h