We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a98017 commit 10720c0Copy full SHA for 10720c0
src/ShellClients/PanelWindow.vala
@@ -75,6 +75,11 @@ public class Gala.PanelWindow : Object {
75
76
if (height > 0) {
77
window_rect.height = height;
78
+
79
+ if (anchor == BOTTOM) {
80
+ var geom = wm.get_display ().get_monitor_geometry (window.get_monitor ());
81
+ window_rect.y = geom.y + geom.height - height;
82
+ }
83
}
84
85
return window_rect;
@@ -98,7 +103,7 @@ public class Gala.PanelWindow : Object {
98
103
private void position_window () {
99
104
var display = wm.get_display ();
100
105
var monitor_geom = display.get_monitor_geometry (display.get_primary_monitor ());
101
- var window_rect = get_custom_window_rect ();
106
+ var window_rect = window.get_frame_rect ();
102
107
108
switch (anchor) {
109
case TOP:
0 commit comments