fix: workspace home icon alignment in title bar when already fullscreen (#7967)

This commit is contained in:
gopu-bruno
2026-05-18 12:54:07 +05:30
committed by GitHub
parent 55774a8258
commit 10da27dde8
3 changed files with 140 additions and 0 deletions

View File

@@ -275,6 +275,10 @@ app.on('ready', async () => {
return mainWindow.isMaximized();
});
ipcMain.handle('renderer:window-is-fullscreen', () => {
return mainWindow.isFullScreen();
});
ipcMain.handle('renderer:open-preferences', () => {
ipcMain.emit('main:open-preferences');
});