diff options
author | emersion <contact@emersion.fr> | 2017-10-08 18:19:05 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-08 18:19:05 +0200 |
commit | 518ef46ef2c15bdfd2a1e0274fe2bf628639a310 (patch) | |
tree | 8db05bf590f1e459b7879a4d57a5da8ef631fb54 /rootston/xdg_shell_v6.c | |
parent | e66e18f4de6996a5c8d923668834096b61b60110 (diff) |
Activate new views
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r-- | rootston/xdg_shell_v6.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 2471b3ee..44acab4e 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -73,10 +73,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { struct roots_view *view = roots_xdg_surface->view; if (!roots_xdg_surface->initialized) { - bool centered = view_center(view); - if (centered) { - roots_xdg_surface->initialized = true; - } + roots_xdg_surface->initialized = view_initialize(view); } } |