Update
This commit is contained in:
parent
4e75e23676
commit
fad271f7fc
@ -11,12 +11,13 @@ diff --git a/src/seat.c b/src/seat.c
|
||||
index b04fed1..679a3f5 100644
|
||||
--- a/src/seat.c
|
||||
+++ b/src/seat.c
|
||||
@@ -30,8 +30,9 @@ static void handle_keyboard_key(struct wl_listener *listener, void *data) {
|
||||
PhocKeyboard *keyboard =
|
||||
@@ -42,9 +42,9 @@ handle_keyboard_key (struct wl_listener
|
||||
wl_container_of (listener, keyboard, keyboard_key);
|
||||
PhocDesktop *desktop = server->desktop;
|
||||
|
||||
- wlr_idle_notify_activity (desktop->idle, keyboard->seat->seat);
|
||||
struct wlr_event_keyboard_key *event = data;
|
||||
-
|
||||
+ if (event->state == WLR_KEY_PRESSED)
|
||||
+ wlr_idle_notify_activity(desktop->idle, keyboard->seat->seat);
|
||||
phoc_keyboard_handle_key (keyboard, event);
|
||||
|
@ -44,6 +44,7 @@ RDEPEND="
|
||||
x11-libs/xcb-util-wm
|
||||
x11-wm/mutter
|
||||
sys-auth/seatd
|
||||
!gui-libs/wlroots
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
@ -53,6 +54,10 @@ BDEPEND="
|
||||
x11-base/xorg-server
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0001-seat-Don-t-notify-on-key-release.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
@ -62,7 +67,6 @@ src_prepare() {
|
||||
|
||||
cd "${S}"/subprojects/wlroots
|
||||
eapply "${FILESDIR}"/xcursor-fix-false-positive-stringop-truncation.diff
|
||||
eapply "${FILESDIR}"/Revert-layer-shell-error-on-0-dimension-without-anchors.diff
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user