Commit 5ba30dca authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix a typo

This probably needs to be currentPrimarySelection.


(cherry picked from commit 8a399fc8)
parent 2b0308ca
Pipeline #55384 passed with stage
in 6 minutes and 59 seconds
......@@ -1151,7 +1151,7 @@ void SeatInterface::setFocusedKeyboardSurface(SurfaceInterface *surface)
d->globalKeyboard.focus.primarySelections = primarySelectionDevices;
for (auto primaryDataDevice : primarySelectionDevices) {
if (d->currentSelection) {
if (d->currentPrimarySelection) {
primaryDataDevice->sendSelection(d->currentPrimarySelection);
} else {
primaryDataDevice->sendClearSelection();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment