#else
bool isrp = false;
#endif
+ int lastmouseactive = mouseactive;
//write_log (_T("setmouseactive %d->%d cursor=%d focus=%d recap=%d\n"), mouseactive, active, mon_cursorclipped, focus, recapture);
}
setcursor(mon, -30000, -30000);
}
- wait_keyrelease();
+ if (lastmouseactive != mouseactive) {
+ wait_keyrelease();
+ }
inputdevice_acquire(TRUE);
setpriority (&priorities[currprefs.win32_active_capture_priority]);
if (currprefs.win32_active_nocapture_pause) {