diff --git a/compositor/PantheonShell.vala b/compositor/PantheonShell.vala index 3488d25bf..561cb08ba 100644 --- a/compositor/PantheonShell.vala +++ b/compositor/PantheonShell.vala @@ -57,7 +57,6 @@ namespace GreeterCompositor { set_anchor, focus_panel, set_size, - set_hide_mode, }; wayland_pantheon_widget_interface = { @@ -312,23 +311,6 @@ namespace GreeterCompositor { ShellClientsManager.get_instance ().set_size (window, width, height); } - internal static void set_hide_mode (Wl.Client client, Wl.Resource resource, [CCode (type = "uint32_t")] Pantheon.Desktop.HideMode hide_mode) { - unowned PanelSurface? panel_surface = resource.get_user_data (); - if (panel_surface.wayland_surface == null) { - warning ("Window tried to set hide mode but wayland surface is null."); - return; - } - - Meta.Window? window; - panel_surface.wayland_surface.get ("window", out window, null); - if (window == null) { - warning ("Window tried to set hide mode but wayland surface had no associated window."); - return; - } - - ShellClientsManager.get_instance ().set_hide_mode (window, hide_mode); - } - internal static void set_keep_above (Wl.Client client, Wl.Resource resource) { unowned ExtendedBehaviorSurface? eb_surface = resource.get_user_data (); if (eb_surface.wayland_surface == null) { diff --git a/protocol/pantheon-desktop-shell-v1.xml b/protocol/pantheon-desktop-shell-v1.xml index 63d9d5982..df118a4c0 100644 --- a/protocol/pantheon-desktop-shell-v1.xml +++ b/protocol/pantheon-desktop-shell-v1.xml @@ -90,14 +90,6 @@ - - - - Tell the shell when to hide the panel. - - - -