Skip to content

Commit a24f62a

Browse files
Make the polkit dialog modal on wayland (#92)
Co-authored-by: Danielle Foré <danielle@elementary.io>
1 parent e228305 commit a24f62a

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
@@ -126,6 +126,7 @@ public class Ag.PolkitDialog : Granite.MessageDialog, PantheonWayland.ExtendedBe
126126
connect_to_shell ();
127127
set_keep_above ();
128128
make_centered ();
129+
make_modal (true);
129130

130131
var surface = get_surface ();
131132
if (surface is Gdk.Toplevel) {

0 commit comments

Comments
 (0)