src/video/photon/SDL_ph_events.c
changeset 886 05c551e5bc64
parent 821 30168104389f
child 910 4ab6d1fd028f
     1.1 --- a/src/video/photon/SDL_ph_events.c	Fri Apr 30 18:33:30 2004 +0000
     1.2 +++ b/src/video/photon/SDL_ph_events.c	Thu May 06 15:55:06 2004 +0000
     1.3 @@ -32,6 +32,7 @@
     1.4  #include <stdio.h>
     1.5  #include <setjmp.h>
     1.6  #include <sys/time.h>
     1.7 +#include <sys/neutrino.h>
     1.8  
     1.9  #include <Ph.h>
    1.10  #include <photon/PkKeyDef.h>
    1.11 @@ -235,7 +236,13 @@
    1.12              /* request to resize */
    1.13              else if (winEvent->event_f==Ph_WM_RESIZE)
    1.14              {
    1.15 -                SDL_PrivateResize(winEvent->size.w+1, winEvent->size.h+1);
    1.16 +                currently_maximized=0;
    1.17 +                #if (_NTO_VERSION < 630)
    1.18 +                   SDL_PrivateResize(winEvent->size.w+1, winEvent->size.h+1);
    1.19 +                #else
    1.20 +                   /* QNX 6.3.0 have this bug fixed */
    1.21 +                   SDL_PrivateResize(winEvent->size.w, winEvent->size.h);
    1.22 +                #endif /* _NTO_VERSION */
    1.23              }
    1.24              /* request to move */
    1.25              else if (winEvent->event_f==Ph_WM_MOVE)