show multiple workspaces in the overlay view. #563035

svn path=/trunk/; revision=115
This commit is contained in:
Dan Winship
2008-12-04 15:16:16 +00:00
parent 436a5cd87b
commit 79d956b719
4 changed files with 217 additions and 122 deletions

View File

@ -15,6 +15,7 @@ DEFAULT_BACKGROUND_COLOR.from_pixel(0x2266bbff);
let panel = null;
let overlay = null;
let overlayActive = false;
let run_dialog = null;
let wm = null;
@ -143,11 +144,14 @@ function endModal() {
}
function show_overlay() {
if (startModal())
if (startModal()) {
overlayActive = true;
overlay.show();
}
}
function hide_overlay() {
overlay.hide();
overlayActive = false;
endModal();
}