Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame
This commit is contained in:
parent
174b7c92d2
commit
a55dd5e69b
|
@ -5,6 +5,7 @@ D1X-Rebirth Changelog
|
|||
main/gamerend.c, main/multi.c, net_udp.c: Fixed some minor HUD-text related issues: For team assignment messages, joining player name would appear; team color assignment in netgame info screen could be wrong due to wrong syntax handling; when rewrapping text messages to specific player, game would not add space behind colon
|
||||
main/kmatrix.c: Defer free of kmatrix data until window is fully gone - patch by Kp
|
||||
main/kconfig.c: Added default keys for weapon cycling similar to Descent 2 and reverted default reverse key to Z as default as more convinient for the QUERTY keyboard layout
|
||||
main/inferno.c: Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame
|
||||
|
||||
20130103
|
||||
--------
|
||||
|
|
|
@ -236,6 +236,9 @@ int standard_handler(d_event *event)
|
|||
|
||||
case KEY_ALTED+KEY_ENTER:
|
||||
case KEY_ALTED+KEY_PADENTER:
|
||||
if (Game_wind)
|
||||
if (Game_wind == window_get_front())
|
||||
return 0;
|
||||
gr_toggle_fullscreen();
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue