Skip to content
Commit 49e9c8e7 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Support parent window and focussing on Wayland

Allows the Polkit prompt to parent itself to the respective origin
window (using XDG Foreign) and actiate itself (using XDG Activation).

Two new DBus methods are introduced to set the window handle and
activation token respectively.

The code now also handles the tokens being provided asynchronously,
i.e. after the dialog has already been shown.

While at it, re-implement parent handling on X which seemed to have
gone missing in the QtQuick port.
parent bc7d647c
Pipeline #576431 passed with stage
in 36 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment