sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit dd1d6255f0e558f2d62e03f701440a57f65254b2
parent f0310933c89ba062a13df0b319d65f0574445ab8
Author: Ian Fan <ianfan0@gmail.com>
Date:   Fri, 13 Jul 2018 17:16:32 +0100

ipc: add window::focus event

Diffstat:
Msway/input/seat.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sway/input/seat.c b/sway/input/seat.c @@ -766,6 +766,10 @@ void seat_set_focus_warp(struct sway_seat *seat, } } + if (container->type == C_VIEW) { + ipc_event_window(container, "focus"); + } + seat->has_focus = (container != NULL); update_debug_tree();