Raise and activate capture windows when shown
This code is in QML instead of C++ because you can't get the global mouse pos from QCursor on wayland. We need to get the mouse pos within the window and QML was the easiest place to get it.
This code is in QML instead of C++ because you can't get the global mouse pos from QCursor on wayland. We need to get the mouse pos within the window and QML was the easiest place to get it.