put dock in the dock_above/below layer
This commit is contained in:
parent
8401315466
commit
00f6bbb1ab
1 changed files with 3 additions and 3 deletions
|
@ -322,11 +322,11 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d)
|
|||
}
|
||||
if ((n = parse_find_node("stacking", node))) {
|
||||
if (parse_contains("top", doc, n))
|
||||
config_dock_layer = OB_STACKING_LAYER_TOP;
|
||||
config_dock_layer = OB_STACKING_LAYER_DOCK_ABOVE;
|
||||
else if (parse_contains("normal", doc, n))
|
||||
config_dock_layer = OB_STACKING_LAYER_NORMAL;
|
||||
else if (parse_contains("bottom", doc, n))
|
||||
config_dock_layer = OB_STACKING_LAYER_BELOW;
|
||||
config_dock_layer = OB_STACKING_LAYER_DOCK_BELOW;
|
||||
}
|
||||
if ((n = parse_find_node("direction", node))) {
|
||||
if (parse_contains("horizontal", doc, n))
|
||||
|
@ -508,7 +508,7 @@ void config_startup(ObParseInst *i)
|
|||
|
||||
parse_register(i, "resize", parse_resize, NULL);
|
||||
|
||||
config_dock_layer = OB_STACKING_LAYER_TOP;
|
||||
config_dock_layer = OB_STACKING_LAYER_DOCK_ABOVE;
|
||||
config_dock_pos = OB_DIRECTION_NORTHEAST;
|
||||
config_dock_floating = FALSE;
|
||||
config_dock_x = 0;
|
||||
|
|
Loading…
Reference in a new issue