Code Review
/
apps
/
homescreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9af877d
)
Flush pending wayland events
author
Scott Anderson
<scott.anderson@collabora.com>
Wed, 4 Dec 2019 08:18:36 +0000
(21:18 +1300)
committer
Scott Anderson
<scott.anderson@collabora.com>
Wed, 4 Dec 2019 08:21:40 +0000
(21:21 +1300)
Qt doesn't do this itself in a.exec(), so pending configure events
weren't being processed before agl_shell_ready() was called.
homescreen/src/main.cpp
patch
|
blob
|
history
diff --git
a/homescreen/src/main.cpp
b/homescreen/src/main.cpp
index
98cec6f
..
e13f9bc
100644
(file)
--- a/
homescreen/src/main.cpp
+++ b/
homescreen/src/main.cpp
@@
-209,6
+209,8
@@
int main(int argc, char *argv[])
agl_shell_set_panel(agl_shell, bot, output, AGL_SHELL_EDGE_BOTTOM);
}
+ wl_display_dispatch(wl);
+
// Delay the ready signal until after Qt has done all of its own setup in a.exec()
QTimer::singleShot(0, [shell](){
agl_shell_ready(shell.get());