Commit 8871b8e0 authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Vincent Untz
Browse files
parent 36b2f812
......@@ -1174,7 +1174,7 @@ panel_widget_right_stick(PanelWidget *panel,int old_size)
ad = list->data;
do {
i = ad->constrained;
i = ad->pos;
ad->pos = ad->constrained = pos--;
ad->cells = 1;
prev = list;
......@@ -1182,7 +1182,7 @@ panel_widget_right_stick(PanelWidget *panel,int old_size)
if(!list)
break;
ad = list->data;
} while(ad->constrained + ad->cells == i);
} while(ad->pos + ad->cells == i);
for (list = prev; list; list = list->next)
emit_applet_moved (panel, list->data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment