Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/muffin/files: muffin-1.8.2-maximized-jump.patch
Date: Sat, 27 Jul 2013 13:11:29
Message-Id: 20130727131122.31D8920081@flycatcher.gentoo.org
1 pacho 13/07/27 13:11:22
2
3 Added: muffin-1.8.2-maximized-jump.patch
4 Log:
5 Fix maximized windows jumping to a different monitor (#470248#c37 by kisak42)
6
7 (Portage version: 2.1.13.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
8
9 Revision Changes Path
10 1.1 x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch?rev=1.1&content-type=text/plain
14
15 Index: muffin-1.8.2-maximized-jump.patch
16 ===================================================================
17 From 00fdf6c3078b3cf34707f7d740bf797d1ca77414 Mon Sep 17 00:00:00 2001
18 From: Albert Pool <albertpool@××××××.nl>
19 Date: Tue, 9 Jul 2013 16:08:59 +0200
20 Subject: [PATCH] Fix maximized windows jumping to a different monitor
21
22 Commit e5b46747d67f6f75ef06272d91f7f8cfc36af058 upstream
23 ---
24 src/core/constraints.c | 5 +++++
25 1 file changed, 5 insertions(+)
26
27 diff --git a/src/core/constraints.c b/src/core/constraints.c
28 index 4c4dedd..630c41c 100644
29 --- a/src/core/constraints.c
30 +++ b/src/core/constraints.c
31 @@ -567,6 +567,11 @@ typedef gboolean (* ConstraintFunc) (MetaWindow *window,
32 .083 * info->work_area_monitor.height;
33 }
34
35 + /* idle_move_resize() uses the user_rect,
36 + * so make sure it uses the placed coordinates.
37 + */
38 + window->user_rect = info->current;
39 +
40 if (window->maximize_horizontally_after_placement ||
41 window->maximize_vertically_after_placement)
42 meta_window_maximize_internal (window,
43 --
44 1.8.1.6