Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix panels not being covered by fullscreen windows in certain situations

  • Loading branch information...
commit b50c2541d4aacca83d4f80b53326c21ac72f180f 1 parent 2d336f8
@Cobinja authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/ui/layout.js
View
6 js/ui/layout.js
@@ -966,18 +966,18 @@ Chrome.prototype = {
for (let i = windows.length - 1; i > -1; i--) {
let window = windows[i];
- let layer = window.get_meta_window().get_layer();
+ let metaWindow = window.get_meta_window();
// Skip minimized windows
if (!window.showing_on_its_workspace())
continue;
- if (layer == Meta.StackLayer.FULLSCREEN) {
+ if (metaWindow.is_fullscreen()) {
let monitor = this._findMonitorForWindow(window);
if (monitor)
monitor.inFullscreen = true;
}
- if (layer == Meta.StackLayer.OVERRIDE_REDIRECT) {
+ if (metaWindow.is_override_redirect()) {
// Check whether the window is screen sized
let isScreenSized =
(window.x == 0 && window.y == 0 &&
Please sign in to comment.
Something went wrong with that request. Please try again.