Mercurial > vim
diff src/gui_w48.c @ 635:23a639c430c5
updated for version 7.0184
author | vimboss |
---|---|
date | Sat, 21 Jan 2006 22:09:43 +0000 |
parents | 52e76e2b5b65 |
children | 4821f16523ba |
line wrap: on
line diff
--- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -2478,23 +2478,6 @@ gui_mswin_get_valid_dimensions( } void -gui_mch_get_screen_dimensions(int *screen_w, int *screen_h) -{ - - *screen_w = GetSystemMetrics(SM_CXFULLSCREEN) - - GetSystemMetrics(SM_CXFRAME) * 2; - /* FIXME: dirty trick: Because the gui_get_base_height() doesn't include - * the menubar for MSwin, we subtract it from the screen height, so that - * the window size can be made to fit on the screen. */ - *screen_h = GetSystemMetrics(SM_CYFULLSCREEN) - - GetSystemMetrics(SM_CYFRAME) * 2 -#ifdef FEAT_MENU - - gui_mswin_get_menu_height(FALSE) -#endif - ; -} - - void gui_mch_flash(int msec) { RECT rc;