mirror of
https://github.com/lbonn/rofi
synced 2025-02-17 05:18:31 +00:00
hover select
This commit is contained in:
parent
5cd1e3ca2b
commit
78888dd80d
1 changed files with 3 additions and 2 deletions
|
@ -48,6 +48,8 @@
|
|||
#include <nkutils-bindings.h>
|
||||
|
||||
#include "keyb.h"
|
||||
#include "rofi-types.h"
|
||||
#include "settings.h"
|
||||
#include "view.h"
|
||||
|
||||
#include "display-internal.h"
|
||||
|
@ -538,8 +540,7 @@ static void wayland_pointer_send_events(wayland_seat *self) {
|
|||
}
|
||||
|
||||
if (self->motion.x > -1 || self->motion.y > -1) {
|
||||
// TODO: hover select
|
||||
rofi_view_handle_mouse_motion(state, self->motion.x, self->motion.y, FALSE);
|
||||
rofi_view_handle_mouse_motion(state, self->motion.x, self->motion.y, config.hover_select);
|
||||
self->motion.x = -1;
|
||||
self->motion.y = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue