diff options
author | Martin Szulecki | 2009-12-22 00:04:51 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-12-22 00:04:51 +0100 |
commit | 057b15260ef360c05c8f4c54955ca6dd25766762 (patch) | |
tree | 3d626370c07107216bbc472567855fd621be3b3a | |
parent | ddc57062079d37b10d8449a1987e174d4912ee24 (diff) | |
download | sbmanager-057b15260ef360c05c8f4c54955ca6dd25766762.tar.gz sbmanager-057b15260ef360c05c8f4c54955ca6dd25766762.tar.bz2 |
Attempt to quickly fix springboard and dock icon exchange
Signed-off-by: Nikias Bassen <nikias@gmx.li>
-rw-r--r-- | src/sbmanager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c index 82b6cbd..9aae5b9 100644 --- a/src/sbmanager.c +++ b/src/sbmanager.c @@ -591,16 +591,19 @@ static gboolean stage_motion (ClutterActor *actor, ClutterMotionEvent *event, gp printf("icon from dock moving inside the dock!\n"); GList *found = g_list_find(dockitems, selected_item); if (!found) { + selected_item->is_dock_item = TRUE; dockitems = g_list_insert(dockitems, selected_item, 3); } } else { printf("icon from dock moving outside the dock!\n"); dockitems = g_list_remove(dockitems, selected_item); + selected_item->is_dock_item = FALSE; } dock_align_icons(TRUE); } else { if (center_y >= dock_area.y1) { printf("regular icon is moving inside the dock!\n"); + selected_item->is_dock_item = TRUE; } else { printf("regular icon is moving!\n"); } |