projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8157a
)
Remove from stacking and window lists on reconfigure and remove an old todo.
author
Mikael Magnusson
<mikachu@comhem.se>
Sun, 3 Feb 2008 04:32:08 +0000
(
05:32
+0100)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sat, 8 Mar 2008 16:21:12 +0000
(17:21 +0100)
openbox/edges.c
patch
|
blob
|
history
diff --git
a/openbox/edges.c
b/openbox/edges.c
index 2296b02604aff0f3192eefef51f239c51e501f1e..f5b3d9874dfb8d78dd3e02cdababd2c042060d5b 100644
(file)
--- a/
openbox/edges.c
+++ b/
openbox/edges.c
@@
-60,9
+60,6
@@
void edges_startup(gboolean reconfigure)
xswa.override_redirect = True;
-#warning insert into window_map and make an obwindow type
-/* g_hash_table_insert(window_map, &dock->frame, dock); */
-
for (i=0; i < OB_NUM_EDGES; i++) {
if (!config_edge_enabled[i])
continue;
@@
-93,6
+90,8
@@
void edges_shutdown(gboolean reconfigure)
gint i;
for (i=0; i < OB_NUM_EDGES; i++) {
+ window_remove(&edge[i]->win);
+ stacking_remove(INTERNAL_AS_WINDOW(edge[i]));
XDestroyWindow(obt_display, edge[i]->win);
g_free(edge[i]);
}