Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
3b807e48
Commit
3b807e48
authored
Dec 18, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
tablet: do not show a cursor if no cursor surface was provided
parent
1a32c646
Changes
1
Hide whitespace changes
Inline
Side-by-side
input.cpp
View file @
3b807e48
...
...
@@ -1694,12 +1694,12 @@ public:
}
auto
cursorSurface
=
tcursor
->
surface
();
if
(
!
cursorSurface
)
{
cursor
->
updateCursor
(
defaultCursor
.
image
,
defaultCursor
.
hotspot
);
cursor
->
updateCursor
(
{},
{}
);
return
;
}
auto
buffer
=
cursorSurface
->
buffer
();
if
(
!
buffer
)
{
cursor
->
updateCursor
(
defaultCursor
.
image
,
defaultCursor
.
hotspot
);
cursor
->
updateCursor
(
{},
{}
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment