Skip to content

Commit 680225b

Browse files
committed
Rename some shellclients methods, maybe squash some parts of this
1 parent c2bce00 commit 680225b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/ShellClients/PanelWindow.vala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ public class Gala.PanelWindow : ShellWindow, RootTarget {
8888
update_strut ();
8989
}
9090

91+
public void request_visible_in_multitasking_view () {
92+
visible_in_multitasking_view = true;
93+
actor.add_action (new DragDropAction (DESTINATION, "multitaskingview-window"));
94+
}
95+
9196
private void hide () {
9297
gesture_controller.goto (1);
9398
}

src/ShellClients/ShellClientsManager.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public class Gala.ShellClientsManager : Object, GestureTarget {
191191
return;
192192
}
193193

194-
panel_windows[window].visible_in_multitasking_view = true;
194+
panel_windows[window].request_visible_in_multitasking_view ();
195195
}
196196

197197
public void make_centered (Meta.Window window) requires (!is_itself_positioned (window)) {

0 commit comments

Comments
 (0)