Description: Keep Xshm compiled extension in ueberzug directory
Author: Nick Morrott <nickm@debian.org>
Forwarded: not-needed
Last-Update: 2022-03-29
---
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@
     },
     ext_modules=[
         distutils.core.Extension(
-            "Xshm", ["Xshm/Xshm.c"], libraries=["X11", "Xext"]),
+            "ueberzug.Xshm", ["Xshm/Xshm.c"], libraries=["X11", "Xext"]),
     ],
 
     # Versions should comply with PEP 440:
--- a/ueberzug/ui.py
+++ b/ueberzug/ui.py
@@ -13,7 +13,7 @@
 import ueberzug.xutil as xutil
 import ueberzug.geometry as geometry
 import ueberzug.scaling as scaling
-import Xshm
+from . import Xshm
 
 
 def roundup(value, unit):
