Skip to content

Commit 33a2ddb

Browse files
authored
X11: set restore-previous-region (#420)
1 parent cb29c33 commit 33a2ddb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

data/dock.metainfo.xml.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
<update_contact>contact_at_elementary.io</update_contact>
2525

2626
<releases>
27+
<release version="8.1.1" date="2025-05-16" urgency="medium">
28+
<description>
29+
<p>Updated translations</p>
30+
</description>
31+
</release>
32+
2733
<release version="8.1.0" date="2025-05-11" urgency="medium">
2834
<description>
2935
<p>Updated translations</p>

src/MainWindow.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public class Dock.MainWindow : Gtk.ApplicationWindow {
157157

158158
var prop = xdisplay.intern_atom ("_MUTTER_HINTS", false);
159159

160-
var value = "anchor=8:hide-mode=%d:size=-1,%d".printf (settings.get_enum ("autohide-mode"), height);
160+
var value = "anchor=8:hide-mode=%d:size=-1,%d:restore-previous-region=1".printf (settings.get_enum ("autohide-mode"), height);
161161

162162
xdisplay.change_property (window, prop, X.XA_STRING, 8, 0, (uchar[]) value, value.length);
163163
}

0 commit comments

Comments
 (0)