Print (debug) what action is being ignored on alt+tab

This commit is contained in:
Jacques Boscq 2025-10-01 01:24:02 +02:00 committed by GitHub
parent c8581b3fed
commit 9bf9f58c61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1525,6 +1525,9 @@ actions_run(struct view *activator, struct server *server,
struct action *action; struct action *action;
wl_list_for_each(action, actions, link) { wl_list_for_each(action, actions, link) {
wlr_log(WLR_DEBUG, "Handling action %u: %s", action->type,
action_names[action->type]);
if (server->input_mode == LAB_INPUT_STATE_WINDOW_SWITCHER if (server->input_mode == LAB_INPUT_STATE_WINDOW_SWITCHER
&& action->type != ACTION_TYPE_NEXT_WINDOW && action->type != ACTION_TYPE_NEXT_WINDOW
&& action->type != ACTION_TYPE_PREVIOUS_WINDOW) { && action->type != ACTION_TYPE_PREVIOUS_WINDOW) {
@ -1533,9 +1536,6 @@ actions_run(struct view *activator, struct server *server,
continue; continue;
} }
wlr_log(WLR_DEBUG, "Handling action %u: %s", action->type,
action_names[action->type]);
/* /*
* Refetch view because it may have been changed due to the * Refetch view because it may have been changed due to the
* previous action * previous action