[mutter/gnome-3-14] place: Fix workspace check when collecting relevant windows
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-14] place: Fix workspace check when collecting relevant windows
- Date: Mon, 19 Jan 2015 23:43:34 +0000 (UTC)
commit 08ba9c689eae4778e498fb003f953e0b664a4c83
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jan 19 22:51:24 2015 +0100
place: Fix workspace check when collecting relevant windows
When looking for space to place a new window, other non-minimized
windows on the same workspace should be taken into account. However
the current check does not work correctly when the placed window is
located on all workspaces, so handle that case explicitly.
https://bugzilla.gnome.org/show_bug.cgi?id=743217
src/core/place.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/place.c b/src/core/place.c
index 665e444..56befbd 100644
--- a/src/core/place.c
+++ b/src/core/place.c
@@ -779,7 +779,8 @@ meta_window_place (MetaWindow *window,
if (w != window &&
meta_window_showing_on_its_workspace (w) &&
- meta_window_located_on_workspace (w, window->workspace))
+ (window->on_all_workspaces ||
+ meta_window_located_on_workspace (w, window->workspace)))
windows = g_list_prepend (windows, w);
tmp = tmp->next;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]