Fix a typo
This probably needs to be currentPrimarySelection.
This commit is contained in:
parent
a50f84a868
commit
06cfe1a24a
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue