Andre Poenitz wrote:
> On Sat, Aug 24, 2002 at 01:47:47PM +0900, Rob Lahaye wrote:
> 
>>Any idea what patch has caused that?
> 
> 
> Seems like any mouse clicks inside minipages/floats etc are eaten.
> So it might be my fault whith the "use lfuns for mouse clicks" change
> and the cause might be found in insets/insettext.C...

Have you tried John's patch from yesterday? It works for me here!


Index: insets/insettabular.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.224
diff -u -r1.224 insettabular.C
--- insets/insettabular.C       20 Aug 2002 20:30:45 -0000      1.224
+++ insets/insettabular.C       25 Aug 2002 00:37:03 -0000
@@ -920,7 +920,6 @@
         
        return DISPATCHED;

                case LFUN_MOUSE_RELEASE:
- 
                lfunMouseRelease(cmd);
         
        return lfunMouseRelease(cmd) ? DISPATCHED : UNDISPATCHED;

                case LFUN_SHIFT_TAB:
Index: insets/insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.327
diff -u -r1.327 insettext.C
--- insets/insettext.C  21 Aug 2002 17:35:24 -0000      1.327
+++ insets/insettext.C  25 Aug 2002 00:37:24 -0000
@@ -1239,6 +1240,18 @@
        int updwhat = 0;
        int updflag = false;
        switch (ev.action) {
+
+ 
case LFUN_MOUSE_PRESS:
+ 
        lfunMousePress(ev);
+ 
        return DISPATCHED;
+
+ 
case LFUN_MOUSE_MOTION:
+ 
        lfunMouseMotion(ev);
+ 
        return DISPATCHED;
+
+ 
case LFUN_MOUSE_RELEASE:
+ 
        return lfunMouseRelease(ev) ? DISPATCHED : UNDISPATCHED;
+
        // Normal chars
        case LFUN_SELFINSERT:
                if (bv->buffer()->isReadonly()) {


Reply via email to