summarylogtreecommitdiffstats
path: root/kwin-lowlatency.install
diff options
context:
space:
mode:
Diffstat (limited to 'kwin-lowlatency.install')
-rw-r--r--kwin-lowlatency.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/kwin-lowlatency.install b/kwin-lowlatency.install
new file mode 100644
index 000000000000..5d249b2f744e
--- /dev/null
+++ b/kwin-lowlatency.install
@@ -0,0 +1,8 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
+}
+
+post_upgrade() {
+ post_install
+}