Skip to content

Commit efd4582

Browse files
committed
Make the polkit dialog modal on wayland
1 parent 9ec7947 commit efd4582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PolkitDialog.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public class Ag.PolkitDialog : Granite.MessageDialog, PantheonWayland.ExtendedBe
128128
connect_to_shell ();
129129
set_keep_above ();
130130
make_centered ();
131+
make_modal (true);
131132

132133
var surface = get_surface ();
133134
if (surface is Gdk.Toplevel) {

0 commit comments

Comments
 (0)