Ignore:
Timestamp:
Dec 8, 2002, 8:54:46 PM (23 years ago)
Author:
umoeller
Message:

Minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/cctl_xframe.c

    r232 r233  
    7777 *      window proc that implements tool or status bars.
    7878 *      (XWorkplace status bars).
     79 *
     80 *@@changed V1.0.1 (2002-12-08) [umoeller]: didn't work if frame had no menu, fixed
    7981 */
    8082
     
    103105                    pswpClient = NULL,
    104106                    pswpMenu = NULL,
     107                    pswpTitleBar = NULL,
    105108                    pswpToolBar = NULL,
    106109                    pswpStatusBar = NULL,
     
    132135                    pswpMenu = &paswp[ul];
    133136                break;
     137
     138                case FID_TITLEBAR:
     139                    pswpTitleBar = &paswp[ul];
     140                break;
    134141            }
    135142        }
     
    145152            if (pswpMenu)
    146153                pswpToolBar->y = pswpMenu->y - pxfc->lToolBarHeight;
     154            // if we don't have a menu, we need to use the title bar instead
     155            // or the toolbar will overlap it V1.0.1 (2002-12-08) [umoeller]
     156            else if (pswpTitleBar)
     157                pswpToolBar->y = pswpTitleBar->y - pxfc->lToolBarHeight;
    147158            else
    148159                pswpToolBar->y  = rclFrame.yTop - ptlBorderSizes.y - pxfc->lToolBarHeight;
Note: See TracChangeset for help on using the changeset viewer.