diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/.github/workflows/main.yml pantheon-agent-polkit-8.1.0/.github/workflows/main.yml
--- pantheon-agent-polkit-8.1.0.orig/.github/workflows/main.yml	2026-10-18 22:48:37.328479124 +0200
+++ pantheon-agent-polkit-8.1.0/.github/workflows/main.yml	2026-10-18 22:50:45.932517118 +0200
@@ -23,7 +23,7 @@
     - name: Install Dependencies
       run: |
         apt update
-        apt install -y libgcr-4-dev libgranite-7-dev libgtk-4-dev libpantheon-wayland-1-dev libpolkit-agent-1-dev libpolkit-gobject-1-dev meson systemd-dev valac
+        apt install -y libgcr-4-dev libgranite-7-dev libgtk-4-dev libpolkit-agent-1-dev libpolkit-gobject-1-dev meson systemd-dev valac
     - name: Build
       env:
         DESTDIR: out
diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/meson.build pantheon-agent-polkit-8.1.0/meson.build
--- pantheon-agent-polkit-8.1.0.orig/meson.build	2026-10-18 22:48:37.329248192 +0200
+++ pantheon-agent-polkit-8.1.0/meson.build	2026-10-18 22:49:44.078916797 +0200
@@ -38,7 +38,6 @@
         dependency('gtk4'),
         dependency('polkit-agent-1'),
         dependency('polkit-gobject-1'),
-        dependency('pantheon-wayland-1', version: '>=1.1.0'),
         meson.get_compiler('vala').find_library('posix')
     ],
     c_args: [
diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/README.md pantheon-agent-polkit-8.1.0/README.md
--- pantheon-agent-polkit-8.1.0.orig/README.md	2026-10-18 22:48:37.328731763 +0200
+++ pantheon-agent-polkit-8.1.0/README.md	2026-10-18 22:49:51.810511104 +0200
@@ -9,7 +9,6 @@
 * libadwaita-1-dev
 * libgranite-7-dev (>= 7.7.0)
 * libgtk-4-dev
-* libpantheon-wayland-1-dev (>=1.1.0)
 * libpolkit-agent-1-dev
 * libpolkit-gobject-1-dev
 * libsystemd-dev
diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/src/GcrConfirmDialog.vala pantheon-agent-polkit-8.1.0/src/GcrConfirmDialog.vala
--- pantheon-agent-polkit-8.1.0.orig/src/GcrConfirmDialog.vala	2026-10-18 22:48:37.354320656 +0200
+++ pantheon-agent-polkit-8.1.0/src/GcrConfirmDialog.vala	2026-10-18 22:50:17.313921492 +0200
@@ -9,7 +9,7 @@
  * Gtk.ResponseType.APPLY means that continue button was pressed.
  * Everything else should be treated as cancel.
  */
-public sealed class Ag.GcrConfirmDialog : Granite.MessageDialog, PantheonWayland.ExtendedBehavior {
+public sealed class Ag.GcrConfirmDialog : Granite.MessageDialog {
     public Gcr.Prompt prompt { private get; construct; }
 
     public GcrConfirmDialog (Gcr.Prompt prompt) {
@@ -29,17 +29,5 @@
         authenticate_button.add_css_class (Granite.CssClass.SUGGESTED);
 
         default_widget = authenticate_button;
-
-        child.realize.connect (() => {
-            connect_to_shell ();
-            set_keep_above ();
-            make_centered ();
-            make_modal (true);
-
-            unowned var surface = get_surface ();
-            if (surface is Gdk.Toplevel) {
-                ((Gdk.Toplevel) surface).inhibit_system_shortcuts (null);
-            }
-        });
     }
 }
diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/src/GcrPasswordDialog.vala pantheon-agent-polkit-8.1.0/src/GcrPasswordDialog.vala
--- pantheon-agent-polkit-8.1.0.orig/src/GcrPasswordDialog.vala	2026-10-18 22:48:37.354356992 +0200
+++ pantheon-agent-polkit-8.1.0/src/GcrPasswordDialog.vala	2026-10-18 22:50:34.474018587 +0200
@@ -9,7 +9,7 @@
  * Gtk.ResponseType.APPLY means that continue button was pressed.
  * Everything else should be treated as cancel.
  */
-public sealed class Ag.GcrPasswordDialog : Granite.MessageDialog, PantheonWayland.ExtendedBehavior {
+public sealed class Ag.GcrPasswordDialog : Granite.MessageDialog {
     public Gcr.Prompt prompt { private get; construct; }
     public unowned string password { get { return password_entry.text; } }
 
@@ -58,17 +58,5 @@
 
         default_widget = authenticate_button;
         focus_widget = password_entry;
-
-        child.realize.connect (() => {
-            connect_to_shell ();
-            set_keep_above ();
-            make_centered ();
-            make_modal (true);
-
-            unowned var surface = get_surface ();
-            if (surface is Gdk.Toplevel) {
-                ((Gdk.Toplevel) surface).inhibit_system_shortcuts (null);
-            }
-        });
     }
 }
diff '--color=auto' -Naur pantheon-agent-polkit-8.1.0.orig/src/PortalDialog.vala pantheon-agent-polkit-8.1.0/src/PortalDialog.vala
--- pantheon-agent-polkit-8.1.0.orig/src/PortalDialog.vala	2026-10-18 22:48:37.354521295 +0200
+++ pantheon-agent-polkit-8.1.0/src/PortalDialog.vala	2026-10-18 22:49:29.676869000 +0200
@@ -3,7 +3,7 @@
  * SPDX-License-Identifier: LGPL-2.1-or-later
  */
 
-public class Ag.PortalDialog : Gtk.Window, PantheonWayland.ExtendedBehavior {
+public class Ag.PortalDialog : Gtk.Window {
     /**
      * The {@link PortalDialog.ResponseType} that has been selected by the user
      */
@@ -156,22 +156,8 @@
             }
         });
 
-        child.realize.connect (on_realize);
-
         allow_button.clicked.connect (() => response (ALLOW));
         cancel_button.clicked.connect (() => response (CANCEL));
         close_request.connect (() => { response (DELETE_EVENT); });
     }
-
-    private void on_realize () {
-        connect_to_shell ();
-        set_keep_above ();
-        make_centered ();
-        make_modal (true);
-
-        var surface = get_surface ();
-        if (surface is Gdk.Toplevel) {
-            ((Gdk.Toplevel) surface).inhibit_system_shortcuts (null);
-        }
-    }
 }
