open WindowSwitcher on current monitor

This commit is contained in:
Felix Andreas 2021-11-05 02:12:02 +01:00 committed by Corentin Noël
parent f677863cdb
commit 4eeaca579b

View File

@ -236,7 +236,7 @@ namespace Gala {
caption.visible = false; caption.visible = false;
caption.margin_bottom = caption.margin_top = WRAPPER_PADDING * scaling_factor; caption.margin_bottom = caption.margin_top = WRAPPER_PADDING * scaling_factor;
var monitor = display.get_primary_monitor (); var monitor = display.get_current_monitor ();
var geom = display.get_monitor_geometry (monitor); var geom = display.get_monitor_geometry (monitor);
float container_width; float container_width;