Skip to content

Commit e040103

Browse files
authored
Merge branch 'main' into leolost/ws-manager-codestyle
2 parents 9d876a2 + c186081 commit e040103

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

data/gala.metainfo.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<update_contact>contact_at_elementary.io</update_contact>
2828

2929
<releases>
30-
<release version="8.0.5" date="2024-12-18" urgency="medium">
30+
<release version="8.1.0" date="2025-01-11" urgency="medium">
3131
<description>
3232
<p>Improvements:</p>
3333
<ul>

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
project('gala',
22
'c', 'vala',
3-
version: '8.0.4',
3+
version: '8.1.0',
44
meson_version: '>= 0.59.0',
55
license: 'GPL3',
66
)

src/WindowManager.vala

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,14 @@ namespace Gala {
21452145
unowned Meta.Display display = get_display ();
21462146
unowned var active_workspace = display.get_workspace_manager ().get_active_workspace ();
21472147
unowned var neighbor = active_workspace.get_neighbor (cancel_direction);
2148-
neighbor.activate (display.get_current_time ());
2148+
2149+
if (moving != null) {
2150+
move_window (moving, neighbor, Meta.CURRENT_TIME);
2151+
} else {
2152+
neighbor.activate (display.get_current_time ());
2153+
}
2154+
} else {
2155+
moving = null;
21492156
}
21502157
}
21512158

@@ -2207,7 +2214,6 @@ namespace Gala {
22072214

22082215
windows = null;
22092216
parents = null;
2210-
moving = null;
22112217

22122218
out_group = null;
22132219
in_group = null;

0 commit comments

Comments
 (0)