Ensure focus oddities don't occur with live-wizard

This commit is contained in:
Kevin Lange 2016-12-05 22:45:17 +09:00
parent 2ed8ca65c3
commit 0a01a426ec

View File

@ -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);