indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402537
This commit is contained in:
parent
cfcb0787d2
commit
6793a28d06
3 changed files with 6 additions and 7 deletions
|
@ -77,7 +77,7 @@ GEM_PumpEvents(_THIS)
|
|||
wind_get(GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2);
|
||||
event_mask |= MU_M1;
|
||||
mouse_event = ((SDL_GetAppState() & SDL_APPMOUSEFOCUS) ==
|
||||
SDL_APPMOUSEFOCUS) ? MO_LEAVE : MO_ENTER;
|
||||
SDL_APPMOUSEFOCUS) ? MO_LEAVE : MO_ENTER;
|
||||
}
|
||||
|
||||
resultat = evnt_multi(event_mask,
|
||||
|
@ -107,7 +107,7 @@ GEM_PumpEvents(_THIS)
|
|||
if (this->input_grab == SDL_GRAB_OFF) {
|
||||
/* Switch mouse focus state */
|
||||
SDL_PrivateAppActive((mouse_event == MO_ENTER),
|
||||
SDL_APPMOUSEFOCUS);
|
||||
SDL_APPMOUSEFOCUS);
|
||||
}
|
||||
GEM_CheckMouseMode(this);
|
||||
}
|
||||
|
|
|
@ -36,10 +36,9 @@ GEM_InitModes(_THIS)
|
|||
|
||||
/* read vdi bpp, rmask, gmask, bmask, amask */
|
||||
|
||||
mode.format =
|
||||
SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask);
|
||||
mode.w = 0 /* vdi width */;
|
||||
mode.h = 0 /* vdi height */;
|
||||
mode.format = SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask);
|
||||
mode.w = 0 /* vdi width */ ;
|
||||
mode.h = 0 /* vdi height */ ;
|
||||
mode.refresh_rate = 0;
|
||||
mode.driverdata = NULL;
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ GEM_VideoInit(_THIS)
|
|||
|
||||
data->wfeatures = 0;
|
||||
if (appl_getinfo(AES_WINDOW, &ap_gout[0], &ap_gout[1], &ap_gout[2],
|
||||
&ap_gout[3]) == 0) {
|
||||
&ap_gout[3]) == 0) {
|
||||
data->wfeatures = ap_gout[0];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue