fixed execution order bug that was causing the first two frame numbers to output...
[puredata.git] / packages / patches / arrow_keys_update_scrollbars-0.40.3.patch
blobad9ad44c2e500d7b2f751ec68dacdb01dfd21fe8
1 Index: g_editor.c
2 ===================================================================
3 RCS file: /cvsroot/pure-data/pd/src/g_editor.c,v
4 retrieving revision 1.20.6.3
5 diff -u -w -r1.20.6.3 g_editor.c
6 --- g_editor.c 9 Nov 2007 06:28:44 -0000 1.20.6.3
7 +++ g_editor.c 26 Nov 2007 22:51:05 -0000
8 @@ -1420,8 +1420,6 @@
9 gobj_activate(x->gl_editor->e_selection->sel_what,
10 x, 1);
12 - if (x->gl_editor->e_onmotion != MA_NONE)
13 - sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
15 x->gl_editor->e_onmotion = MA_NONE;
17 @@ -1446,6 +1444,7 @@
19 if (resortin) canvas_resortinlets(x);
20 if (resortout) canvas_resortoutlets(x);
21 + sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", x);
22 canvas_dirty(x, 1);