summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/gtk-shell.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/gtk-shell.c b/shell/gtk-shell.c
index 5332734..040dbc7 100644
--- a/shell/gtk-shell.c
+++ b/shell/gtk-shell.c
@@ -140,7 +140,8 @@ desktop_shell_configure(void *data,
shell_helper_move_surface(desktop->helper,
desktop->launcher_grid->surface,
- - grid_width,
+ /* TODO: massive hack so window is always onscreen */
+ - grid_width + 1,
((height - window_height) / 2) + MAYNARD_CLOCK_HEIGHT);
desktop_shell_desktop_ready(desktop->shell);
@@ -184,7 +185,8 @@ launcher_grid_toggle (GtkWidget *widget, struct desktop *desktop)
shell_helper_slide_surface(desktop->helper,
desktop->launcher_grid->surface,
- width + MAYNARD_PANEL_WIDTH, 0);
+ /* TODO: massive hack so window is always onscreen */
+ width + MAYNARD_PANEL_WIDTH - 1, 0);
}
desktop->grid_visible = !desktop->grid_visible;