- static User_state user_state(screen, cursor, &bg);
- static Core_api core_api(®istry, &user_state, rcv_cap);
+ L4Re::Video::View *screen_view = 0;
+
+ {
+ L4Re::Video::Goos::Info i;
+ goos_fb.goos()->info(&i);
+ if (!i.auto_refresh())
+ screen_view = goos_fb.view();
+ }
+
+ static User_state user_state(screen, screen_view, cursor, &bg);
+ static Core_api core_api(®istry, &user_state, rcv_cap, fb);