]> git.mdlowis.com Git - proto/labwc.git/commitdiff
data: disable Inhibit D-BUS interface in xdg-portals configuration (#2205)
authorJens Peters <jp7677@gmail.com>
Wed, 2 Oct 2024 20:32:47 +0000 (22:32 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2024 20:32:47 +0000 (21:32 +0100)
The GTK xdg-portal implementation, which is used as
the default behind the wlr xdg-portal implementation,
exposes the Inhibit interface even on a non-Gnome
session. Unfortunately this D-BUS interface does not
work on labwc.
By explicitly disabling this interface, firefox and may be
other applications are not tricked into using the
xdg-portal interface but use the Wayland IdleInhibit
protocol instead which labwc supports.

data/labwc-portals.conf

index 1a45f7197537450839e08d92a74cde95defb4d78..4b08b588b5b0f3d59c69e76ae71df36ea80372ef 100644 (file)
@@ -1,2 +1,3 @@
 [preferred]
 default=wlr;*
+org.freedesktop.impl.portal.Inhibit=none