]> git.lyx.org Git - lyx.git/commitdiff
White space changes only.
authorAngus Leeming <leeming@lyx.org>
Mon, 28 Jan 2002 18:42:37 +0000 (18:42 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 28 Jan 2002 18:42:37 +0000 (18:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3445 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/FormBase.C

index ecd0cfbc42582c6e58fd218288c2ccab670092dc..d05caab8ae280b526c0d3ce1f646f11c6207ac3a 100644 (file)
@@ -25,7 +25,6 @@ extern "C" {
        // Callback function invoked by xforms when the dialog is closed by the
        // window manager
        static int C_FormBaseWMHideCB(FL_FORM * form, void *);
-
 }
 
 
@@ -47,34 +46,34 @@ void FormBase::show()
        if (!form()) {
                build();
        }
-       
+
        // use minw_ to flag whether the dialog has ever been shown
        // (Needed now that build() is/should be called from the controller)
        if (minw_ == 0) {
                bc().refresh();
+
                // work around dumb xforms sizing bug
                minw_ = form()->w;
                minh_ = form()->h;
 
                fl_set_form_atclose(form(), C_FormBaseWMHideCB, 0);
        }
-       
+
        fl_freeze_form(form());
        update();  // make sure its up-to-date
        fl_unfreeze_form(form());
 
        if (form()->visible) {
                fl_raise_form(form());
-               /* This XMapWindow() will hopefully ensure that
-                * iconified dialogs are de-iconified. Mad props
-                * out to those crazy Xlib guys for forgetting a
-                * XDeiconifyWindow(). At least WindowMaker, when
-                * being notified of the redirected MapRequest will
-                * specifically de-iconify. From source, fvwm2 seems
-                * to do the same.
-                */
-               XMapWindow(fl_get_display(), form()->window);
+               /* This XMapWindow() will hopefully ensure that
+                * iconified dialogs are de-iconified. Mad props
+                * out to those crazy Xlib guys for forgetting a
+                * XDeiconifyWindow(). At least WindowMaker, when
+                * being notified of the redirected MapRequest will
+                * specifically de-iconify. From source, fvwm2 seems
+                * to do the same.
+                */
+               XMapWindow(fl_get_display(), form()->window);
        } else {
                // calls to fl_set_form_minsize/maxsize apply only to the next
                // fl_show_form(), so this comes first.
@@ -128,7 +127,7 @@ FormBase * GetForm(FL_OBJECT * ob)
 
 
 extern "C" {
-       
+
        static
        int C_FormBaseWMHideCB(FL_FORM * form, void *)
        {