Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/WindowListener.vala
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public class Gala.WindowListener : Object {

public signal void window_workspace_changed (Meta.Window window);
public signal void window_on_all_workspaces_changed (Meta.Window window);
public signal void window_type_changed (Meta.Window window);

private Gee.HashMap<Meta.Window, WindowGeometry?> unmaximized_state_geometry;

Expand All @@ -81,6 +82,9 @@ public class Gala.WindowListener : Object {
case "on-all-workspaces":
window_on_all_workspaces_changed (window);
break;
case "window-type":
window_type_changed (window);
break;
}
}

Expand Down
9 changes: 8 additions & 1 deletion src/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Gala {
* It will (eventually) never be hidden by other components and is always on top of everything. Therefore elements are
* responsible themselves for hiding depending on the state we are currently in (e.g. normal desktop, open multitasking view, fullscreen, etc.).
*/
public Clutter.Actor shell_group { get; private set; }
private Clutter.Actor shell_group { get; private set; }

private Clutter.Actor menu_group { get; set; }

Expand Down Expand Up @@ -388,6 +388,13 @@ namespace Gala {
InternalUtils.wait_for_window_actor_visible (window, check_shell_window)
);

WindowListener.get_default ().window_type_changed.connect ((window) => {
unowned var window_actor = (Meta.WindowActor) window.get_compositor_private ();
if (window_actor != null) {
check_shell_window (window_actor);
}
});

stage.show ();

plugin_manager.load_waiting_plugins ();
Expand Down
Loading