mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-05 04:06:24 -05:00
cage: free window title
This commit is contained in:
parent
c00ac5c462
commit
6ebc684ee6
1 changed files with 2 additions and 1 deletions
3
cage.c
3
cage.c
|
|
@ -55,12 +55,13 @@ set_window_title(struct cg_server *server, struct cg_view *view)
|
|||
return;
|
||||
}
|
||||
|
||||
const char *title = view_get_title(view);
|
||||
char *title = view_get_title(view);
|
||||
if (is_wl) {
|
||||
wlr_wl_output_set_title(output, title);
|
||||
} else if (is_x11) {
|
||||
wlr_x11_output_set_title(output, title);
|
||||
}
|
||||
free(title);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue