Commit 8a399fc8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix a typo

This probably needs to be currentPrimarySelection.
parent 2ece21a7
Pipeline #55381 passed with stage
in 7 minutes and 16 seconds
......@@ -944,7 +944,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();
......
Supports Markdown
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