Commit 335de9d
fix: handle absolute WAYLAND_DISPLAY in -d desktop binding
WAYLAND_DISPLAY may be an absolute path, in which case XDG_RUNTIME_DIR
must not be prepended. The old code always concatenated them, producing
a malformed path like /run/user/1001//run/user/1000/wayland-0 and a
bwrap "Can't find source path" error. Detect the absolute form, use it
as-is, and guard the bind with an existence check.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3991397 commit 335de9d
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
| |||
0 commit comments