FUCK dock is not an array anymore!
This commit is contained in:
parent
7a166a3838
commit
d9e1eb0cbe
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,6 @@ Strut dock_strut;
|
||||||
void dock_startup()
|
void dock_startup()
|
||||||
{
|
{
|
||||||
XSetWindowAttributes attrib;
|
XSetWindowAttributes attrib;
|
||||||
int i;
|
|
||||||
|
|
||||||
STRUT_SET(dock_strut, 0, 0, 0, 0);
|
STRUT_SET(dock_strut, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
@ -36,8 +35,8 @@ void dock_startup()
|
||||||
XSetWindowBorderWidth(ob_display, dock->frame, theme_bwidth);
|
XSetWindowBorderWidth(ob_display, dock->frame, theme_bwidth);
|
||||||
|
|
||||||
g_hash_table_insert(window_map, &dock->frame, dock);
|
g_hash_table_insert(window_map, &dock->frame, dock);
|
||||||
stacking_add(DOCK_AS_WINDOW(&dock[i]));
|
stacking_add(DOCK_AS_WINDOW(dock));
|
||||||
stacking_raise(DOCK_AS_WINDOW(&dock[i]));
|
stacking_raise(DOCK_AS_WINDOW(dock));
|
||||||
}
|
}
|
||||||
|
|
||||||
void dock_shutdown()
|
void dock_shutdown()
|
||||||
|
|
Loading…
Reference in a new issue