mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Remove unnecessary wl_display_dispatch calls
wl_display_roundtrip already takes care of dispatching the display.
This commit is contained in:
parent
bad1e9afa8
commit
297354f847
18 changed files with 0 additions and 19 deletions
|
|
@ -324,7 +324,6 @@ int main(int argc, char **argv) {
|
|||
|
||||
struct wl_registry *registry = wl_display_get_registry(display);
|
||||
wl_registry_add_listener(registry, ®istry_listener, NULL);
|
||||
wl_display_dispatch(display);
|
||||
wl_display_roundtrip(display);
|
||||
|
||||
if (compositor == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue