Fix panel stacking with respect to fullscreen windows and screensaver. #571827

Because we can't set the stage input area to a non-rectangular shape,
we don't allow the panel to be partially overlapped; it is always either
on top, or else completely hidden.
This commit is contained in:
Dan Winship
2009-03-12 17:13:08 -04:00
parent dcc0f368bd
commit 1fcaafdb58
2 changed files with 52 additions and 2 deletions

View File

@ -59,7 +59,6 @@ function start() {
});
panel = new Panel.Panel();
global.set_stage_input_area(0, 0, global.screen_width, Panel.PANEL_HEIGHT);
overlay = new Overlay.Overlay();
wm = new WindowManager.WindowManager();
@ -144,7 +143,7 @@ function endModal() {
let global = Shell.Global.get();
global.ungrab_keyboard();
global.set_stage_input_area(0, 0, global.screen_width, Panel.PANEL_HEIGHT);
panel.set_stage_input_area();
}
function show_overlay() {