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
fc38e555
Commit
fc38e555
authored
May 28, 2020
by
Vlad Zahorodnii
Browse files
No auto
"auto r" implies that it's a resource, but it's not.
parent
1c3059c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/datacontroldevice_v1_interface.cpp
View file @
fc38e555
...
...
@@ -117,11 +117,11 @@ void DataControlDeviceV1Interface::sendSelection(AbstractDataSource *other)
sendClearSelection
();
return
;
}
auto
r
=
d
->
createDataOffer
(
other
);
if
(
!
r
)
{
DataControlOfferV1Interface
*
offe
r
=
d
->
createDataOffer
(
other
);
if
(
!
offe
r
)
{
return
;
}
d
->
send_selection
(
r
->
resource
());
d
->
send_selection
(
offe
r
->
resource
());
}
void
DataControlDeviceV1Interface
::
sendClearSelection
()
...
...
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