pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/marco



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Nov 21 03:48:07 UTC 2020

Modified Files:
        pkgsrc/wm/marco: Makefile distinfo
Added Files:
        pkgsrc/wm/marco/patches: patch-src_core_window.c patch-src_ui_frames.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/wm/marco/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/wm/marco/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/marco/patches/patch-src_core_window.c \
    pkgsrc/wm/marco/patches/patch-src_ui_frames.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/marco/Makefile
diff -u pkgsrc/wm/marco/Makefile:1.26 pkgsrc/wm/marco/Makefile:1.27
--- pkgsrc/wm/marco/Makefile:1.26       Mon Aug 24 04:41:41 2020
+++ pkgsrc/wm/marco/Makefile    Sat Nov 21 03:48:07 2020
@@ -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

Index: pkgsrc/wm/marco/distinfo
diff -u pkgsrc/wm/marco/distinfo:1.13 pkgsrc/wm/marco/distinfo:1.14
--- pkgsrc/wm/marco/distinfo:1.13       Sun Aug 16 03:54:46 2020
+++ pkgsrc/wm/marco/distinfo    Sat Nov 21 03:48:07 2020
@@ -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_delete.c) = ace180e
 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

Added files:

Index: pkgsrc/wm/marco/patches/patch-src_core_window.c
diff -u /dev/null pkgsrc/wm/marco/patches/patch-src_core_window.c:1.1
--- /dev/null   Sat Nov 21 03:48:07 2020
+++ pkgsrc/wm/marco/patches/patch-src_core_window.c     Sat Nov 21 03:48:07 2020
@@ -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)
Index: pkgsrc/wm/marco/patches/patch-src_ui_frames.c
diff -u /dev/null pkgsrc/wm/marco/patches/patch-src_ui_frames.c:1.1
--- /dev/null   Sat Nov 21 03:48:07 2020
+++ pkgsrc/wm/marco/patches/patch-src_ui_frames.c       Sat Nov 21 03:48:07 2020
@@ -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