Skip to content
Merged
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
11 changes: 0 additions & 11 deletions src/InternalUtils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ namespace Gala {
workspace_manager.thaw_remove ();
}

public static inline bool get_window_is_normal (Meta.Window window) {
switch (window.window_type) {
case Meta.WindowType.NORMAL:
case Meta.WindowType.DIALOG:
case Meta.WindowType.MODAL_DIALOG:
return true;
default:
return false;
}
}

public static Clutter.ActorBox actor_box_from_rect (float x, float y, float width, float height) {
var actor_box = Clutter.ActorBox ();
actor_box.init_rect (x, y, width, height);
Expand Down