dnd: refocus surface under cursor on drag-destroy

Keyboard focus is not changed during drag, so we need to refocus the
surface under the cursor and the end of a drag-and-drop operation.

Fixes issue #939
This commit is contained in:
Johan Malm 2023-05-27 15:41:20 +01:00 committed by Johan Malm
parent f817a9e56a
commit 3bd441caa0
2 changed files with 13 additions and 2 deletions

View file

@ -2,6 +2,7 @@
#ifndef LABWC_CURSOR_H
#define LABWC_CURSOR_H
#include <wlr/types/wlr_cursor.h>
#include <wlr/util/edges.h>
#include "ssd.h"