diff options
Diffstat (limited to 'src/menubar.vala')
-rw-r--r-- | src/menubar.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menubar.vala b/src/menubar.vala index 9735a38..edc6563 100644 --- a/src/menubar.vala +++ b/src/menubar.vala @@ -418,10 +418,10 @@ public class MenuBar : Gtk.MenuBar keyboard_socket.add_id (id); /* Put keyboard at the bottom of the screen */ - var screen = get_screen (); - var monitor = screen.get_monitor_at_window (get_window ()); + var display = get_display (); + var monitor = display.get_monitor_at_window (get_window ()); Gdk.Rectangle geom; - screen.get_monitor_geometry (monitor, out geom); + geom = monitor.get_geometry (); keyboard_window.move (geom.x, geom.y + geom.height - 200); keyboard_window.resize (geom.width, 200); } |