Skip to content
2 changes: 1 addition & 1 deletion src/netxs/desktopio/application.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace netxs::app

namespace netxs::app::shared
{
static const auto version = "v2026.10.05";
static const auto version = "v2026.10.06";
static const auto repository = "https://github.com/directvt/vtm";
static const auto usr_config = "~/.config/vtm/settings.xml"s;
static const auto sys_config = "/etc/vtm/settings.xml"s;
Expand Down
18 changes: 9 additions & 9 deletions src/netxs/desktopio/directvt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2199,21 +2199,21 @@ namespace netxs::directvt
}
}
// s11n: Recycle clipboard request.
void recycle_cliprequest(auto& master, s11n::xs::clipdata_request& lock)
void recycle_cliprequest(auto& master, s11n::xs::clipdata& clipdata_lock, s11n::xs::clipdata_request& lock)
{
auto& item = lock.thing;
auto data = s11n::clipdata.freeze();
if (data.thing.hash != item.hash)
auto& data = clipdata_lock.thing;
if (data.hash != item.hash)
{
data.thing.template sendby<faux, faux>(master); //todo gcc 11.4.0 requires template keyword
data.template sendby<faux, faux>(master); //todo gcc 11.4.0 requires template keyword
}
else // Send without payload if hash the same.
{
auto temp = std::move(data.thing.utf8);
data.thing.set();
data.thing.template sendby<faux, faux>(master); //todo gcc 11.4.0 requires template keyword
data.thing.utf8 = std::move(temp);
data.thing.set();
auto temp = std::move(data.utf8);
data.set();
data.template sendby<faux, faux>(master); //todo gcc 11.4.0 requires template keyword
data.utf8 = std::move(temp);
data.set();
}
}
// s11n: Wake up waiting objects.
Expand Down
Loading
Loading