[marco] 02/02: debian/patches: Add 0002_prevent_xcursor_getting_stuck.patch. Fix frame geometry to avoid stuck resize cursor.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Wed Apr 25 12:23:18 BST 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository marco.

commit 9d00bff4fb2ffac7027902a61dd46028266f7a26
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Wed Apr 25 10:51:13 2018 +0100

    debian/patches: Add 0002_prevent_xcursor_getting_stuck.patch. Fix frame geometry to avoid stuck resize cursor.
---
 .../patches/0002_prevent_xcursor_getting_stuck.patch  | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/0002_prevent_xcursor_getting_stuck.patch b/debian/patches/0002_prevent_xcursor_getting_stuck.patch
new file mode 100644
index 0000000..78a7942
--- /dev/null
+++ b/debian/patches/0002_prevent_xcursor_getting_stuck.patch
@@ -0,0 +1,19 @@
+Author: Victor Kareh <vkareh at vkareh.net>
+Description: Fix frame geometry to avoid stuck resize cursor.
+
+diff --git a/src/ui/frames.c b/src/ui/frames.c
+index 80ee353..90e2b2d 100644
+--- a/src/ui/frames.c
++++ b/src/ui/frames.c
+@@ -549,11 +549,6 @@ meta_frames_calc_geometry (MetaFrames        *frames,
+                             width / scale, height / scale,
+                             &button_layout,
+                             fgeom);
+-
+-  fgeom->top_height *= scale;
+-  fgeom->bottom_height *= scale;
+-  fgeom->left_width *= scale;
+-  fgeom->right_width *= scale;
+ }
+ 
+ MetaFrames*
diff --git a/debian/patches/series b/debian/patches/series
index de96e5a..333ac87 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001_fix_resize_popup.patch
+0002_prevent_xcursor_getting_stuck.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/marco.git



More information about the pkg-mate-commits mailing list