System/Core/Compositor: Update menubar title in @compositor_refresh(win)
This commit is contained in:
parent
c4f25e63c1
commit
ebacbeafca
1 changed files with 5 additions and 0 deletions
|
@ -142,6 +142,11 @@ U0 @compositor_refresh(Window* win)
|
|||
msg->type = CPZ_MSG_WIN_REPAINT;
|
||||
msg->payload = win;
|
||||
Ipc.MsgSend(msg->client, msg);
|
||||
if (!Compositor.menubar.win || Compositor.menubar.win == win)
|
||||
return;
|
||||
if (Compositor.active_win == win && Compositor.menubar.title) {
|
||||
Gui.Widget.SetText(Compositor.menubar.title, win->title);
|
||||
}
|
||||
}
|
||||
|
||||
U0 @compositor_set_z_index(Window* win, I64 index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue