return;
}
+ //write_log(_T("setmouseactive(%d)\n"), active);
+
if (active < 0)
active = 1;
mon->mouseposx = mon->mouseposy = 0;
- if (isfullscreen () <= 0 && (currprefs.input_mouse_untrap & MOUSEUNTRAP_MAGIC) && currprefs.input_tablet > 0) {
- if (mousehack_alive()) {
- releasecapture(mon);
+ if (isfullscreen() <= 0 && (currprefs.input_mouse_untrap & MOUSEUNTRAP_MAGIC)) {
+ if (currprefs.input_tablet > 0) {
+ if (mousehack_alive()) {
+ releasecapture(mon);
+ recapture = 0;
+ return;
+ }
+ SetCursor(normalcursor);
+ } else {
recapture = 0;
- return;
}
- SetCursor (normalcursor);
}
bool gotfocus = false;