Commit a099c94
RK3576: Fix ES not appearing on glasses at boot
Two issues prevented ES from showing on DP Alt Mode displays connected
at boot:
1. for_window rule used 'focus output' instead of 'move output' — the
former only moves cursor focus to DP-1, not the ES window itself.
Change to 'move output DP-1' so ES is actually moved when it opens.
2. dp_monitor could miss the boot-time hotplug event: sway fires the
output "change" event before finishing output configuration, so
wlr-randr shows DP-1 as Enabled: no and dp_monitor sees no external
display. Add a 10s timeout to the subscribe loop so dp_monitor retries
periodically as a fallback.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6a18810 commit a099c94
2 files changed
Lines changed: 6 additions & 6 deletions
File tree
- projects/ROCKNIX/packages
- sysutils/system-utils/sources/scripts
- wayland/compositor/sway/autostart
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments