diff options
Diffstat (limited to 'internal/app/spwayland.go')
| -rw-r--r-- | internal/app/spwayland.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/app/spwayland.go b/internal/app/spwayland.go index 104f0a64..25fc118b 100644 --- a/internal/app/spwayland.go +++ b/internal/app/spwayland.go @@ -18,6 +18,10 @@ type spWaylandOp struct { } func (s *spWaylandOp) toSystem(state *outcomeStateSys) error { + if state.config.Enablements.Unwrap()&hst.EWayland == 0 { + return errNotEnabled + } + // outer wayland socket (usually `/run/user/%d/wayland-%d`) var socketPath *check.Absolute if name, ok := state.k.lookupEnv(wayland.WaylandDisplay); !ok { |
