simple-shm: Fix inverted logic

This commit is contained in:
Kristian Høgsberg 2011-08-26 21:31:33 -04:00
parent 97d44aa58b
commit 2821aaaf9c

View File

@ -205,7 +205,7 @@ create_display(void)
wl_display_get_fd(display->display, event_mask_update, display); wl_display_get_fd(display->display, event_mask_update, display);
while (display->xrgb_visual) while (!display->xrgb_visual)
wl_display_roundtrip(display->display); wl_display_roundtrip(display->display);
return display; return display;