mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 00:48:23 -06:00
Fix one source of mouse vanishing (#18911)
When the cursor is over the non-client area it wouldn't show the cursor when moving it. Now it works as expected.
This commit is contained in:
parent
69fc2d94ee
commit
4d094df508
1
.github/actions/spelling/allow/apis.txt
vendored
1
.github/actions/spelling/allow/apis.txt
vendored
@ -144,6 +144,7 @@ NCHITTEST
|
|||||||
NCLBUTTONDBLCLK
|
NCLBUTTONDBLCLK
|
||||||
NCMOUSELEAVE
|
NCMOUSELEAVE
|
||||||
NCMOUSEMOVE
|
NCMOUSEMOVE
|
||||||
|
NCPOINTERUPDATE
|
||||||
NCRBUTTONDBLCLK
|
NCRBUTTONDBLCLK
|
||||||
NIF
|
NIF
|
||||||
NIN
|
NIN
|
||||||
|
|||||||
@ -61,7 +61,10 @@ void IslandWindow::HideCursor() noexcept
|
|||||||
|
|
||||||
void IslandWindow::ShowCursorMaybe(const UINT message) noexcept
|
void IslandWindow::ShowCursorMaybe(const UINT message) noexcept
|
||||||
{
|
{
|
||||||
if (_cursorHidden && (message == WM_ACTIVATE || message == WM_POINTERUPDATE))
|
if (_cursorHidden &&
|
||||||
|
(message == WM_ACTIVATE ||
|
||||||
|
message == WM_POINTERUPDATE ||
|
||||||
|
message == WM_NCPOINTERUPDATE))
|
||||||
{
|
{
|
||||||
_cursorHidden = false;
|
_cursorHidden = false;
|
||||||
ShowCursor(TRUE);
|
ShowCursor(TRUE);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user