mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Merge pull request #5378 from npwoods/remove_stray_variable
Removing a stray (likely vestigial) variable from window.cpp (nw)
This commit is contained in:
commit
6363a427e1
@ -100,9 +100,6 @@ static int win_physical_height;
|
||||
// event handling
|
||||
static std::chrono::system_clock::time_point last_event_check;
|
||||
|
||||
// debugger
|
||||
static int in_background;
|
||||
|
||||
static int ui_temp_pause;
|
||||
static int ui_temp_was_paused;
|
||||
|
||||
@ -1293,11 +1290,6 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
|
||||
return DefWindowProc(wnd, message, wparam, lparam);
|
||||
}
|
||||
|
||||
// track whether we are in the foreground
|
||||
case WM_ACTIVATEAPP:
|
||||
in_background = !wparam;
|
||||
break;
|
||||
|
||||
// close: cause MAME to exit
|
||||
case WM_CLOSE:
|
||||
window->machine().schedule_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user