commit
a54c1c25c5
@ -23,8 +23,8 @@ index f1133555..3e61204a 100644
|
||||
|
||||
def _setup_xcursor_binding(self):
|
||||
try:
|
||||
- xcursor = ffi.dlopen('libxcb-cursor.so')
|
||||
+ xcursor = ffi.dlopen('@xcb-cursor@/lib/libxcb-cursor.so')
|
||||
- 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
|
||||
|
@ -43,13 +43,13 @@ index 5316e0e7..272c6430 100755
|
||||
from libqtile.scripts import qtile_top
|
||||
qtile_top.main()
|
||||
diff --git a/libqtile/utils.py b/libqtile/utils.py
|
||||
index 36ed0a58..bca9eab3 100644
|
||||
index 550ed02677e..1358a66f3df 100644
|
||||
--- a/libqtile/utils.py
|
||||
+++ b/libqtile/utils.py
|
||||
@@ -240,3 +240,11 @@ def describe_attributes(obj, attrs, func=None):
|
||||
pairs.append('%s=%s' % (attr, value))
|
||||
|
||||
return ', '.join(pairs)
|
||||
@@ -272,3 +272,11 @@ def safe_import(module_names, class_name, globals_, fallback=None):
|
||||
logger.debug("%s", traceback.format_exc())
|
||||
if fallback:
|
||||
globals_[class_name] = fallback(module_path, class_name, error)
|
||||
+
|
||||
+
|
||||
+def restore_os_environment():
|
||||
|
@ -1,13 +1,13 @@
|
||||
diff --git a/libqtile/manager.py b/libqtile/manager.py
|
||||
index 36518a74..9b6bdd02 100644
|
||||
index fc198e9bae7..860b97d8db1 100644
|
||||
--- a/libqtile/manager.py
|
||||
+++ b/libqtile/manager.py
|
||||
@@ -1386,7 +1386,7 @@ class Qtile(command.CommandObject):
|
||||
@@ -1402,7 +1402,7 @@ class Qtile(command.CommandObject):
|
||||
logger.error("Unable to pickle qtile state")
|
||||
argv = [s for s in argv if not s.startswith('--with-state')]
|
||||
argv.append('--with-state=' + buf.getvalue().decode())
|
||||
|
||||
- self.cmd_execute(sys.executable, argv)
|
||||
+ self.cmd_execute(os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:])
|
||||
- self._restart = (sys.executable, argv)
|
||||
+ self._restart = (os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:])
|
||||
self.stop()
|
||||
|
||||
def cmd_spawn(self, cmd):
|
||||
"""Run cmd in a shell.
|
||||
|
@ -7,13 +7,13 @@ in
|
||||
|
||||
python27Packages.buildPythonApplication rec {
|
||||
name = "qtile-${version}";
|
||||
version = "0.10.7";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qtile";
|
||||
repo = "qtile";
|
||||
rev = "v${version}";
|
||||
sha256 = "18szgplyym0b65vnaa8nqzadq6q0mhsiky9g5hqhn7xzf4kykmj8";
|
||||
sha256 = "1jw6mh9m5yrijhm218lc51sc89lc2ihvyx30jhrkxy2mzllhjgrs";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
Loading…
Reference in New Issue
Block a user