all repos — openbox @ 1546430f1277758f019b49a6f36a30162933b215

openbox fork - make it a bit more like ryudo

fix a seggie i introduced, going too far in the dockapps list
Dana Jansens danakj@orodu.net
commit

1546430f1277758f019b49a6f36a30162933b215

parent

fdbeee7e71f0a3232946b9424722dc7fe16e0d7e

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/dock.copenbox/dock.c

@@ -456,7 +456,7 @@ y -= dock->y;

/* which dock app are we on top of? */ stop = FALSE; - for (it = dock->dock_apps; it && !stop; it = it->next) { + for (it = dock->dock_apps; it; it = it->next) { over = it->data; switch (config_dock_orient) { case OB_ORIENTATION_HORZ:

@@ -468,6 +468,8 @@ if (y >= over->y && y < over->y + over->h)

stop = TRUE; break; } + /* dont go to it->next! */ + if (stop) break; } if (!it || app == over) return;