From 0a01a426ecd08a7a2549afb527628ad2e2d8f854 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Mon, 5 Dec 2016 22:45:17 +0900 Subject: [PATCH] Ensure focus oddities don't occur with live-wizard --- userspace/gui/basic/live-wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/gui/basic/live-wizard.c b/userspace/gui/basic/live-wizard.c index 52d232fe..82792244 100644 --- a/userspace/gui/basic/live-wizard.c +++ b/userspace/gui/basic/live-wizard.c @@ -248,7 +248,7 @@ int main(int argc, char * argv[]) { init_decorations(); - win_hints = yutani_window_create(yctx, yctx->display_width, yctx->display_height); + win_hints = yutani_window_create_flags(yctx, yctx->display_width, yctx->display_height, YUTANI_WINDOW_FLAG_NO_STEAL_FOCUS); yutani_window_move(yctx, win_hints, 0, 0); yutani_window_update_shape(yctx, win_hints, YUTANI_SHAPE_THRESHOLD_CLEAR); ctx_hints = init_graphics_yutani_double_buffer(win_hints);