summaryrefslogtreecommitdiff
path: root/shell/maynard.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/maynard.c')
-rw-r--r--shell/maynard.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/maynard.c b/shell/maynard.c
index 351076d..e2f5c3b 100644
--- a/shell/maynard.c
+++ b/shell/maynard.c
@@ -90,18 +90,15 @@ desktop_shell_configure (void *data,
int32_t width, int32_t height)
{
struct desktop *desktop = data;
- int window_height;
gtk_widget_set_size_request (desktop->background->window,
width, height);
- /* TODO: make this height a little nicer */
- window_height = height * MAYNARD_PANEL_HEIGHT_RATIO;
gtk_window_resize (GTK_WINDOW (desktop->panel->window),
- MAYNARD_PANEL_WIDTH, window_height);
+ width, MAYNARD_PANEL_HEIGHT);
shell_helper_move_surface (desktop->helper, desktop->panel->surface,
- 0, (height - window_height) / 2);
+ 0, height - MAYNARD_PANEL_HEIGHT); //TODO to bottom
desktop_shell_desktop_ready (desktop->shell);