mirror of
https://github.com/lbonn/rofi
synced 2024-11-10 06:14:14 +00:00
Fix for segfault after updating to KDE 5.26
This commit is contained in:
parent
e861df39f2
commit
beee0ded30
1 changed files with 10 additions and 0 deletions
|
@ -799,8 +799,18 @@ static gboolean clipboard_read_data(int fd, clipboard_read_callback callback) {
|
|||
static void data_offer_handle_offer(void *data, struct wl_data_offer *offer,
|
||||
const char *mime_type) {}
|
||||
|
||||
static void data_offer_handle_source_actions(void *data,
|
||||
struct wl_data_offer *wl_data_offer,
|
||||
uint32_t source_actions) {}
|
||||
|
||||
static void data_offer_handle_action(void *data,
|
||||
struct wl_data_offer *wl_data_offer,
|
||||
uint32_t dnd_action) {}
|
||||
|
||||
static const struct wl_data_offer_listener data_offer_listener = {
|
||||
.offer = data_offer_handle_offer,
|
||||
.source_actions = data_offer_handle_source_actions,
|
||||
.action = data_offer_handle_action,
|
||||
};
|
||||
|
||||
static void data_device_handle_data_offer(void *data,
|
||||
|
|
Loading…
Reference in a new issue