Skip to content

Commit 33bc3eb

Browse files
authored
Fix gtk3 daemon menu location with x2 scaling (#2493)
1 parent 66f07c3 commit 33bc3eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

daemon-gtk3/DBus.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public class Gala.Daemon.DBus : GLib.Object {
9090
menu.attach_to_widget (window.content, null);
9191

9292
Gdk.Rectangle rect = {
93-
x,
94-
y,
93+
x / window.scale_factor,
94+
y / window.scale_factor,
9595
0,
9696
0
9797
};

0 commit comments

Comments
 (0)