multitaskingview: make sure we don't slide out docks while in fullscreen

This commit is contained in:
Tom Beckmann 2015-04-12 22:46:43 +02:00
parent 687ba03b83
commit 88ab22ccc4

View File

@ -506,11 +506,15 @@ namespace Gala
const int MAX_OFFSET = 100;
var window = actor.get_meta_window ();
var monitor = window.get_monitor ();
if (window.window_type != WindowType.DOCK)
continue;
var monitor_geom = screen.get_monitor_geometry (window.get_monitor ());
if (screen.get_monitor_in_fullscreen (monitor))
continue;
var monitor_geom = screen.get_monitor_geometry (monitor);
#if HAS_MUTTER312
var window_geom = window.get_frame_rect ();