• Eli Zaretskii's avatar
    (mouse_init): Reset the button press/release info of the mouse driver. · 0c7bc1aa
    Eli Zaretskii authored
    (mouse_preempted): New variable.
    (dos_rawgetc): Don't generate mouse events if mouse is preempted.
    (XMenuActivate): Preempt the mouse during menu-handling loop.
    Release the current time slice while idling in the menu-handling
    loop.  Leave the loop only if the user pressed, then released the
    same button.  Discard all mouse events that are pending in the
    event queue before exiting.
msdos.c 93.4 KB