2021-10-16 21:26:57 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
/* view-impl.c: common code for shell view->impl functions */
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <strings.h>
|
|
|
|
|
#include "labwc.h"
|
2022-11-21 10:10:39 -05:00
|
|
|
#include "view.h"
|
2021-10-16 21:26:57 +01:00
|
|
|
|
|
|
|
|
void
|
|
|
|
|
view_impl_map(struct view *view)
|
|
|
|
|
{
|
|
|
|
|
desktop_focus_and_activate_view(&view->server->seat, view);
|
2021-12-06 21:23:49 +00:00
|
|
|
desktop_move_to_front(view);
|
2021-10-16 21:26:57 +01:00
|
|
|
|
|
|
|
|
view_update_title(view);
|
2021-10-16 21:50:56 +01:00
|
|
|
view_update_app_id(view);
|
2021-10-16 21:26:57 +01:00
|
|
|
}
|