Commit 40b7512
committed
fix: fix wayland client dispatch loop
In previous commit d63a6b we dispatch wayland events purely inside the
QSocketNotifier. This will cause server events that is send before the
notifier created is not being dispatched, which is not what we want and
will cause severe issue in the current interaction model of ddm &
treeland, as treeland will send an event immediately after ddm is
connected. Fix it by dispatch once before create notifier.1 parent d63a6ba commit 40b7512
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
0 commit comments