mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 10:13:04 +03:00
multitaskingview: make sure we don't slide out docks while in fullscreen
This commit is contained in:
parent
687ba03b83
commit
88ab22ccc4
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user