mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-05 19:56:53 +00:00
Override panel hiding when selectedWindow isn't fullscreen
This commit is contained in:
@@ -69,7 +69,12 @@ Space = (workspace) => {
|
||||
}
|
||||
|
||||
panelBox.connect('hide', () => {
|
||||
panelBox.scale_y = 0;
|
||||
let space = spaces[global.screen.get_active_workspace_index()];
|
||||
if (space.selectedWindow.fullscreen) {
|
||||
panelBox.scale_y = 0;
|
||||
} else {
|
||||
panelBox.show();
|
||||
}
|
||||
});
|
||||
|
||||
const spaces = []
|
||||
|
||||
Reference in New Issue
Block a user