mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-12 08:21:20 -04:00
Move set_window_title to output
This commit is contained in:
parent
2669c80803
commit
9d825d6dc7
5 changed files with 18 additions and 25 deletions
4
seat.c
4
seat.c
|
|
@ -745,7 +745,9 @@ seat_set_focus(struct cg_seat *seat, struct cg_view *view)
|
|||
}
|
||||
|
||||
view_activate(view, true);
|
||||
set_window_title(server, view);
|
||||
char *title = view_get_title(view);
|
||||
output_set_window_title(server->output, title);
|
||||
free(title);
|
||||
|
||||
struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(wlr_seat);
|
||||
if (keyboard) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue