Diffusion KWin 4c0e33a94c80

Add a Workspace::findToplevel(QWindow*) method

Authored by graesslin on Aug 30 2016, 1:47 PM.

Description

Add a Workspace::findToplevel(QWindow*) method

This allows finding the Toplevel for a QWindow which is on Wayland a
ShellClient and on X11 an Unmanaged. This can be used to simplify
code when a Toplevel is needed for an internal QWindow without having
to do platform specific checks.

Details

Committed
graesslinAug 30 2016, 1:47 PM
Parents
R108:8db4a6ff3929: authorizeKAction -> authorizeAction
Branches
Unknown
Tags
Unknown