mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
diff --git a/libqtile/pangocffi.py b/libqtile/pangocffi.py
|
|
index 1e8f5c04..e860d43a 100644
|
|
--- a/libqtile/pangocffi.py
|
|
+++ b/libqtile/pangocffi.py
|
|
@@ -58,9 +58,9 @@ except ImportError:
|
|
else:
|
|
raise ImportError("No module named libqtile._ffi_pango, be sure to run `python ./libqtile/ffi_build.py`")
|
|
|
|
-gobject = ffi.dlopen('libgobject-2.0.so.0')
|
|
-pango = ffi.dlopen('libpango-1.0.so.0')
|
|
-pangocairo = ffi.dlopen('libpangocairo-1.0.so.0')
|
|
+gobject = ffi.dlopen('@glib@/lib/libgobject-2.0.so.0')
|
|
+pango = ffi.dlopen('@pango@/lib/libpango-1.0.so.0')
|
|
+pangocairo = ffi.dlopen('@pango@/lib/libpangocairo-1.0.so.0')
|
|
|
|
|
|
def CairoContext(cairo_t):
|
|
diff --git a/libqtile/xcursors.py b/libqtile/xcursors.py
|
|
index f1133555..3e61204a 100644
|
|
--- a/libqtile/xcursors.py
|
|
+++ b/libqtile/xcursors.py
|
|
@@ -112,7 +112,7 @@ class Cursors(dict):
|
|
|
|
def _setup_xcursor_binding(self):
|
|
try:
|
|
- xcursor = ffi.dlopen('libxcb-cursor.so.0')
|
|
+ xcursor = ffi.dlopen('@xcb-cursor@/lib/libxcb-cursor.so.0')
|
|
except OSError:
|
|
logger.warning("xcb-cursor not found, fallback to font pointer")
|
|
return False
|