layout: Call meta_window_* on the meta_window rather then on the actor

This commit is contained in:
Adel Gadllah 2013-02-17 21:47:09 +01:00
parent 12845f0eef
commit ae93d258a5

View File

@ -773,10 +773,10 @@ const LayoutManager = new Lang.Class({
let layer = metaWindow.get_layer();
// Skip minimized windows
if (!window.showing_on_its_workspace())
if (!metaWindow.showing_on_its_workspace())
continue;
if (window.is_monitor_sized()) {
if (metaWindow.is_monitor_sized()) {
let monitor = this.monitors[metaWindow.get_monitor()];
if (monitor)
monitor.inFullscreen = true;