diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-03-21 23:39:43 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-03-21 23:39:43 -0400 |
commit | a9429c8f2207841c649438187d6e19046d323a16 (patch) | |
tree | a06e4b8a87b6a42742cf6750276746a10b6c2139 /gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch | |
parent | f0136b36ae8c1e9c174043bd50e0e24413c0f345 (diff) | |
parent | 49b350fafc2c3ea1db66461b73d4e304cd13ec92 (diff) | |
download | guix-a9429c8f2207841c649438187d6e19046d323a16.tar.gz |
Merge branch 'staging' into core-updates.
Diffstat (limited to 'gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch')
-rw-r--r-- | gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch b/gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch deleted file mode 100644 index 6f067763b5..0000000000 --- a/gnu/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Tobias Geerinckx-Rice <me@tobias.gr> -Date: Tue, 02 Mar 2021 18:04:33 +0100 -Subject: [PATCH] gnu: python-matplotlib: Run under Wayland with GTK3. - -Adopted from upstream's fix[0] for -<https://github.com/matplotlib/matplotlib/issues/19405>. - -[0]: https://github.com/liuyun88/matplotlib/commit/3d5000463bd23cb046681220f5511f07743f7d82 - ---- -diff -Naur a/lib/matplotlib/backends/backend_gtk3.py b/lib/matplotlib/backends/backend_gtk3.py ---- a/lib/matplotlib/backends/backend_gtk3.py 2019-11-21 23:47:05.000000000 +0100 -+++ b/lib/matplotlib/backends/backend_gtk3.py 2021-03-02 18:00:57.479929766 +0100 -@@ -42,11 +42,12 @@ - - try: -+ _display = Gdk.Display.get_default() - cursord = { -- cursors.MOVE : Gdk.Cursor.new(Gdk.CursorType.FLEUR), -- cursors.HAND : Gdk.Cursor.new(Gdk.CursorType.HAND2), -- cursors.POINTER : Gdk.Cursor.new(Gdk.CursorType.LEFT_PTR), -- cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS), -- cursors.WAIT : Gdk.Cursor.new(Gdk.CursorType.WATCH), -+ cursors.MOVE : Gdk.Cursor.new_from_name(_display, "move"), -+ cursors.HAND : Gdk.Cursor.new_from_name(_display, "pointer"), -+ cursors.POINTER : Gdk.Cursor.new_from_name(_display, "default"), -+ cursors.SELECT_REGION : Gdk.Cursor.new_from_name(_display, "crosshair"), -+ cursors.WAIT : Gdk.Cursor.new_from_name(_display, "wait"), - } - except TypeError as exc: - # Happens when running headless. Convert to ImportError to cooperate with |