pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/marco marco: add two upstream bug fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5df5e0013993
branches:  trunk
changeset: 442241:5df5e0013993
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Nov 21 03:48:07 2020 +0000

description:
marco: add two upstream bug fixes

These haven't made it to a branch yet, but have been carried elsewhere,
e.g., Fedora applied them two months ago.

diffstat:

 wm/marco/Makefile                        |   4 ++--
 wm/marco/distinfo                        |   4 +++-
 wm/marco/patches/patch-src_core_window.c |  32 ++++++++++++++++++++++++++++++++
 wm/marco/patches/patch-src_ui_frames.c   |  16 ++++++++++++++++
 4 files changed, 53 insertions(+), 3 deletions(-)

diffs (83 lines):

diff -r 729608d2fd25 -r 5df5e0013993 wm/marco/Makefile
--- a/wm/marco/Makefile Sat Nov 21 02:42:03 2020 +0000
+++ b/wm/marco/Makefile Sat Nov 21 03:48:07 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2020/08/24 04:41:41 gutteridge Exp $
+# $NetBSD: Makefile,v 1.27 2020/11/21 03:48:07 gutteridge Exp $
 
-PKGREVISION= 2
+PKGREVISION= 3
 .include "../../meta-pkgs/mate/Makefile.common"
 
 DISTNAME=      marco-${VERSION:R}.1
diff -r 729608d2fd25 -r 5df5e0013993 wm/marco/distinfo
--- a/wm/marco/distinfo Sat Nov 21 02:42:03 2020 +0000
+++ b/wm/marco/distinfo Sat Nov 21 03:48:07 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2020/08/16 03:54:46 gutteridge Exp $
+$NetBSD: distinfo,v 1.14 2020/11/21 03:48:07 gutteridge Exp $
 
 SHA1 (marco-1.24.1.tar.xz) = a5109201f9113f0d8802ece48d801e7a35fc5341
 RMD160 (marco-1.24.1.tar.xz) = ecf0cb023fdfee703ea0ff8d451293aa2edb8a5d
@@ -9,3 +9,5 @@
 SHA1 (patch-src_core_keybindings.c) = 98235897926d017994e1fa01c754419d14432b08
 SHA1 (patch-src_core_main.c) = 2ca845168633a2856a86453407b3a165f66e8863
 SHA1 (patch-src_core_window-props.c) = 23d7c68e3e2c89004c610046378bd855d1d6358a
+SHA1 (patch-src_core_window.c) = 7bb190da380deebbde8b634898a79a4fa7b0da00
+SHA1 (patch-src_ui_frames.c) = 2fb610e63da0394923d66100e1515f4cb7a80107
diff -r 729608d2fd25 -r 5df5e0013993 wm/marco/patches/patch-src_core_window.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/marco/patches/patch-src_core_window.c  Sat Nov 21 03:48:07 2020 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-src_core_window.c,v 1.1 2020/11/21 03:48:07 gutteridge Exp $
+
+window: do not unfocus on new window. Fix keyboard input on fullscreen VLC.
+https://github.com/mate-desktop/marco/commit/6ea23df6aa8a42973a1bb42c5c618b322d47488e
+
+--- src/core/window.c.orig     2020-08-04 18:35:42.000000000 +0000
++++ src/core/window.c
+@@ -2175,23 +2175,7 @@ meta_window_show (MetaWindow *window)
+       ( (!place_on_top_on_map && !takes_focus_on_map) ||
+       will_be_covered )
+     ) {
+-      if (meta_window_is_ancestor_of_transient (focus_window, window))
+-        {
+-          /* This happens for error dialogs or alerts; these need to remain on
+-           * top, but it would be confusing to have its ancestor remain
+-           * focused.
+-           */
+-          meta_topic (META_DEBUG_STARTUP,
+-                      "The focus window %s is an ancestor of the newly mapped "
+-                      "window %s which isn't being focused.  Unfocusing the "
+-                      "ancestor.\n",
+-                      focus_window->desc, window->desc);
+-
+-          meta_display_focus_the_no_focus_window (window->display,
+-                                                  window->screen,
+-                                                  timestamp);
+-        }
+-      else
++      if (!meta_window_is_ancestor_of_transient (focus_window, window))
+         {
+           needs_stacking_adjustment = TRUE;
+           if (!window->placed)
diff -r 729608d2fd25 -r 5df5e0013993 wm/marco/patches/patch-src_ui_frames.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/marco/patches/patch-src_ui_frames.c    Sat Nov 21 03:48:07 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_ui_frames.c,v 1.1 2020/11/21 03:48:07 gutteridge Exp $
+
+Do not call cairo_paint() on generate_pixmaps. Fixes transparent windows.
+https://github.com/mate-desktop/marco/commit/0c2baf71f18f39058edc8459990da27c4d448d81
+
+--- src/ui/frames.c.orig       2020-08-04 18:35:42.000000000 +0000
++++ src/ui/frames.c
+@@ -2282,8 +2282,6 @@ generate_pixmap (MetaFrames            *
+   cr = cairo_create (result);
+   cairo_translate (cr, -rect->x, -rect->y);
+ 
+-  cairo_paint (cr);
+-
+   meta_frames_paint_to_drawable (frames, frame, cr);
+ 
+   cairo_destroy (cr);



Home | Main Index | Thread Index | Old Index