From cc17690cbe8f19ce9d095612abd50ee96cd8a9a0 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Sat, 29 Mar 2014 10:06:55 +0100 Subject: Revert "gtk-shell: add hack to always keep app launcher onscreen" There is a better hack in weston now, which means we don't need to keep this surface onscreen. This reverts commit e629806944f19ddccdceb75ccff095b06f2ab06c. --- shell/maynard.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/maynard.c b/shell/maynard.c index 6c08ec8..e5d60ea 100644 --- a/shell/maynard.c +++ b/shell/maynard.c @@ -142,8 +142,7 @@ desktop_shell_configure(void *data, shell_helper_move_surface(desktop->helper, desktop->launcher_grid->surface, - /* TODO: massive hack so window is always onscreen */ - - grid_width + 1, + - grid_width, ((height - window_height) / 2) + MAYNARD_CLOCK_HEIGHT); desktop_shell_desktop_ready(desktop->shell); @@ -187,8 +186,7 @@ launcher_grid_toggle (GtkWidget *widget, struct desktop *desktop) shell_helper_slide_surface(desktop->helper, desktop->launcher_grid->surface, - /* TODO: massive hack so window is always onscreen */ - width + MAYNARD_PANEL_WIDTH - 1, 0); + width + MAYNARD_PANEL_WIDTH, 0); } desktop->grid_visible = !desktop->grid_visible; -- cgit v1.3.1