mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
System/Core/Compositor: Update menubar title in @compositor_refresh(win)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user