if you click elsewhere when the minibuffer is activated, it should be
deactivated.

thanks
john

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
        - Charles Cooper on "Business at the Speed of Thought" 
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.427
diff -u -r1.427 ChangeLog
--- src/ChangeLog       2001/12/02 16:39:56     1.427
+++ src/ChangeLog       2001/12/02 18:37:40
@@ -1,3 +1,7 @@
+2001-12-02  John Levon  <[EMAIL PROTECTED]>
+
+       * minibuffer.C: deactivate on loss of focus
+ 
 2001-12-02  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
        * vspace.[Ch] (operator!=): add operator. 
@@ -102,7 +106,7 @@
        * paragraph_pimpl.h:
        * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
          bug a bit
- 
+
 2001-11-26  John Levon  <[EMAIL PROTECTED]>
 
        * text.C: 
Index: src/minibuffer.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/minibuffer.C,v
retrieving revision 1.43
diff -u -r1.43 minibuffer.C
--- src/minibuffer.C    2001/11/08 11:46:05     1.43
+++ src/minibuffer.C    2001/12/02 18:37:40
@@ -100,6 +100,9 @@
 int MiniBuffer::peek_event(FL_OBJECT * ob, int event, int key)
 {
        switch (event) {
+       case FL_UNFOCUS:
+               deactivate();
+               break;
        case FL_KEYBOARD:
        {
                char const * tmp = fl_get_input(ob);

Reply via email to