diff options
author | 2013-07-27 13:11:22 +0000 | |
---|---|---|
committer | 2013-07-27 13:11:22 +0000 | |
commit | bd17ff9aa40574974bb3455a46280915513ac261 (patch) | |
tree | 8bde6b982f5dad6963e6c2a880b447cd679b57ac /x11-wm/muffin/files | |
parent | Version bump to 4.5.13 and 5.0.9 to fix sec issues. Closes bug#477900. Remove... (diff) | |
download | gentoo-2-bd17ff9aa40574974bb3455a46280915513ac261.tar.gz gentoo-2-bd17ff9aa40574974bb3455a46280915513ac261.tar.bz2 gentoo-2-bd17ff9aa40574974bb3455a46280915513ac261.zip |
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)
Diffstat (limited to 'x11-wm/muffin/files')
-rw-r--r-- | x11-wm/muffin/files/muffin-1.8.2-maximized-jump.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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 <albertpool@solcon.nl> +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 + |