From bd17ff9aa40574974bb3455a46280915513ac261 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 27 Jul 2013 13:11:22 +0000 Subject: Fix maximized windows jumping to a different monitor (#470248#c37 by kisak42) (Portage version: 2.1.13.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) --- .../muffin/files/muffin-1.8.2-maximized-jump.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch (limited to 'x11-wm/muffin/files') diff --git a/x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch b/x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch new file mode 100644 index 000000000000..f7874c0b6a96 --- /dev/null +++ b/x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch @@ -0,0 +1,29 @@ +From 00fdf6c3078b3cf34707f7d740bf797d1ca77414 Mon Sep 17 00:00:00 2001 +From: Albert Pool +Date: Tue, 9 Jul 2013 16:08:59 +0200 +Subject: [PATCH] Fix maximized windows jumping to a different monitor + +Commit e5b46747d67f6f75ef06272d91f7f8cfc36af058 upstream +--- + src/core/constraints.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/core/constraints.c b/src/core/constraints.c +index 4c4dedd..630c41c 100644 +--- a/src/core/constraints.c ++++ b/src/core/constraints.c +@@ -567,6 +567,11 @@ typedef gboolean (* ConstraintFunc) (MetaWindow *window, + .083 * info->work_area_monitor.height; + } + ++ /* idle_move_resize() uses the user_rect, ++ * so make sure it uses the placed coordinates. ++ */ ++ window->user_rect = info->current; ++ + if (window->maximize_horizontally_after_placement || + window->maximize_vertically_after_placement) + meta_window_maximize_internal (window, +-- +1.8.1.6 + -- cgit v1.2.3-65-gdbad