Changeset 3924

Show
Ignore:
Timestamp:
10/18/05 09:43:11 (3 years ago)
Author:
miyoshi
Message:

(mw32_check_fullscreen): Turn the process over to
Windows to work around ticket:188.
(mw32_WndProc<WM_WINDOWPOSCHANGED>): Don't restrict the frame size
to work around ticket:188.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ChangeLog.Meadow

    r3923 r3924  
     12005-10-18  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * mw32fns.c (mw32_check_fullscreen): Turn the process over to 
     4        Windows to work around ticket:188. 
     5        (mw32_WndProc<WM_WINDOWPOSCHANGED>): Don't restrict the frame size 
     6        to work around ticket:188. 
     7 
    182005-10-18  Kyotaro HORIGUCHI  <horiguti@meadowy.org> 
    29 
     
    512        (show_or_hide_mouse_cursor): Lower sensitivity to mouse motion 
    613        when hide mouse cursor by wheel rotaion. 
    7          
     14 
    8152005-10-16  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    916 
     
    99106        mouse cursor images. 
    100107        (mw32_load_cursor): New function copied from w32fns.c. 
    101          
     108 
    1021092005-10-12  Masayuki FUJII  <boochang@m4.kcn.ne.jp> 
    103110 
  • trunk/src/mw32fns.c

    r3922 r3924  
    193193  if (f->want_fullscreen & FULLSCREEN_BOTH) 
    194194    { 
     195#if 0 
    195196      int width, height, ign; 
    196197 
     
    202203         when setting WM manager hints.  */ 
    203204      if (FRAME_COLS (f) != width || FRAME_LINES (f) != height) 
    204         { 
    205           change_frame_size (f, height, width, 0, 1, 0); 
    206           SET_FRAME_GARBAGED (f); 
    207           cancel_mouse_face (f); 
    208  
    209           /* Wait for the change of frame size to occur */ 
    210           f->want_fullscreen |= FULLSCREEN_WAIT; 
    211         } 
     205        { 
     206          change_frame_size (f, height, width, 0, 1, 0); 
     207          SET_FRAME_GARBAGED (f); 
     208          cancel_mouse_face (f); 
     209 
     210          /* Wait for the change of frame size to occur */ 
     211          f->want_fullscreen |= FULLSCREEN_WAIT; 
     212        } 
     213#else /* Turn this process over to Windows.  */ 
     214      PostMessage (FRAME_MW32_WINDOW (f), WM_SYSCOMMAND, SC_MAXIMIZE, 0); 
     215#endif 
    212216    } 
    213217} 
     
    21382142            height -= hdiff; 
    21392143 
     2144#if 0 /* Don't restrict the frame size.  */ 
    21402145            { 
    21412146              /* 
     
    21662171              ReleaseDC (hwnd, hdc); 
    21672172            } 
     2173#endif 
    21682174 
    21692175            rows = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, height);