Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In X11 mode, after ending interactive programs as edit or help, mouse cursor disappears in DOS window #1545

Closed
fhanzlik opened this issue Oct 24, 2021 · 3 comments

Comments

@fhanzlik
Copy link

  1. When run dosemu2 (git 2021.10.18 g505b3f2bf) in desktop (MATE) terminal window as "dosemu -X" and then in DOS (FreeDOS 1.2) run "edit" (FreeDOS Edit 0.9a), then mouse cursor starts blinking, quickly (10+/sec) and erratic (the cursor is not visible rather than is). Still is possible to click on eg. menu item and it works. But after ending "edit", mouse cursor is in DOS window invisible.
    Selecting text by pressing the left mouse button and hovering over the text is still possible.

  2. when run FreeDOS Help (hhstndrd 1.0.5 en) in same way as above, it works and mouse cursor is visible. But after ending this help program, mouse cursor disappears from DOS window. Text selection is still possible.

@fhanzlik
Copy link
Author

Mouse cursor is probably blinking when run "edit" due to big CPU load:

  • when mouse cursor is in DOS window, then Xorg on "top" show 97-100% CPU load and dosemu.bin cca 30%
  • when mouse cursor is out of DOS window, then Xorg load is fine (1-3%), but dosemu.bin take 100% CPU

@stsp stsp closed this as completed in 71c8a2a Oct 24, 2021
stsp added a commit that referenced this issue Oct 24, 2021
This fixes the CPU hog (in edit.com) regression from 9a15687.
@stsp
Copy link
Member

stsp commented Oct 24, 2021

Should now be fixed.

@fhanzlik
Copy link
Author

Can confirm, both issues (mouse visibility and high CPU load) are now away. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants