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 98f8caf commit 63d06f8Copy full SHA for 63d06f8
src/ShellClients/PanelWindow.vala
@@ -69,6 +69,11 @@ public class Gala.PanelWindow : Object {
69
70
if (height > 0) {
71
window_rect.height = height;
72
+
73
+ if (anchor == BOTTOM) {
74
+ var geom = wm.get_display ().get_monitor_geometry (window.get_monitor ());
75
+ window_rect.y = geom.y + geom.height - height;
76
+ }
77
}
78
79
return window_rect;
@@ -92,7 +97,7 @@ public class Gala.PanelWindow : Object {
92
97
private void position_window () {
93
98
var display = wm.get_display ();
94
99
var monitor_geom = display.get_monitor_geometry (display.get_primary_monitor ());
95
- var window_rect = get_custom_window_rect ();
100
+ var window_rect = window.get_frame_rect ();
96
101
102
switch (anchor) {
103
case TOP:
0 commit comments