]> Dogcows Code - chaz/tint2/blobdiff - src/launcher/launcher.c
cleanup : Area posx/posy managed by layering engine (area.c)
[chaz/tint2] / src / launcher / launcher.c
index ea456546318be4fd5414353e4388fcae089fc6fa..630a74ecf0402136136ee977763f94086aadf37d 100644 (file)
@@ -76,16 +76,7 @@ void init_launcher_panel(void *p)
                return;
 
        launcher->area.on_screen = 1;
-       if (panel_horizontal) {
-               // panel horizonal => fixed height and posy
-               launcher->area.posy = panel->area.bg->border.width + panel->area.paddingy;
-               launcher->area.height = panel->area.height - (2 * launcher->area.posy);
-       }
-       else {
-               // panel vertical => fixed width, height, posy and posx
-               launcher->area.posx = panel->area.bg->border.width + panel->area.paddingxlr;
-               launcher->area.width = panel->area.width - (2 * panel->area.bg->border.width) - (2 * panel->area.paddingy);
-       }
+       panel_refresh = 1;
 
        fprintf(stderr, "Loading themes...\n");
        launcher_load_themes(launcher);
This page took 0.01546 seconds and 4 git commands to generate.