labwc/include
tokyo4j a57d8b026c cycle: fix spurious focus changes on finishing window switcher
As described in the `FIXME` comment in `cycle.c`, we had spurious focus
changes where the keyboard focus is momentarily given to the previously
focused window when finishing the window switcher, an then it is given
to the selected window.

This commit fixes this by adding a parameter in
`seat_focus_override_end()` to avoid restoring the focus to the
previously focused window.

I also removed the check for `!seat->seat->keyboard_state.focused_surface`
in `seat_focus_override_end()`. I thought it was necessary to avoid
updating the keyboard focus if the focus was given to a session-lock
surface before e.g. finishing window switching, but `seat_focus()` is
no-op in that case anyway.
2026-01-30 14:55:16 +09:00
..
common box: factor out box_center() 2025-12-02 14:57:41 +09:00
config cycle: show non-dialog child windows in window switcher 2026-01-27 21:10:32 +00:00
foreign-toplevel foreign-toplevel: simplify and fully separate ext-foreign/wlr-foreign 2025-08-07 23:27:04 -04:00
img include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
input cursor: generalize seat->pressed 2025-11-30 20:55:54 +09:00
menu Remove unused function menu_call_actions() 2025-09-26 10:41:21 -04:00
protocols Fix typos 2025-01-09 06:59:57 +00:00
scaled-buffer Remove unused function scaled_font_buffer_set_max_width() 2025-09-26 10:41:21 -04:00
action-prompt-codes.h labnag: s/LAB_EXIT_TIMEOUT/LAB_EXIT_CANCELLED/ 2025-10-13 19:03:43 +01:00
action.h action: fix UAF when using prompt during reconfigure 2025-09-26 21:25:34 +01:00
buffer.h buffer: add buffer_create_from_wlr_buffer() 2025-06-07 02:12:56 +09:00
cycle.h cycle: implement scrollable OSD 2025-12-31 22:46:53 +00:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h project wide: clean up event listeners on shutdown 2025-03-13 17:33:51 +09:00
desktop-entry.h Move "#if HAVE_LIBSFDO" inside desktop-entry.h 2025-01-25 07:27:21 +09:00
dnd.h chase (dnd): refactor to use wlroot's scene_drag_icon 2023-12-03 18:24:26 +00:00
edges.h common: flesh out enum lab_edge and prefer over wlr_edges/wlr_direction 2025-08-26 20:36:43 -04:00
idle.h idle_manager: remove unused parameter and field 2025-09-07 19:17:18 +09:00
labwc.h cycle: fix spurious focus changes on finishing window switcher 2026-01-30 14:55:16 +09:00
layers.h tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
magnifier.h magnifier: rename some functions 2025-02-23 14:17:31 +09:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h node: update node_descriptor_create() comment 2025-12-07 14:55:32 +09:00
output-state.h output: remove ported wlr_output functions 2024-10-29 21:39:19 +00:00
output-virtual.h Add optional headless fallback output 2024-03-08 13:54:13 +01:00
output.h cycle: refactor to aggregate type definitions into cycle.h 2025-12-28 20:57:37 +00:00
overlay.h overlay: refactor 2025-08-31 13:24:51 +01:00
placement.h include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
regions.h overlay: add snap-to-edge overlay (PR #1652) 2024-04-05 04:35:31 +02:00
resistance.h include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
resize-indicator.h include: add config/types.h 2025-08-21 16:55:25 +09:00
resize-outlines.h Implement <resize><drawContents> 2024-06-15 21:17:01 +01:00
session-lock.h tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
snap-constraints.h common: flesh out enum lab_edge and prefer over wlr_edges/wlr_direction 2025-08-26 20:36:43 -04:00
snap.h include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
ssd-internal.h ssd: attach LAB_NODE_SSD_ROOT to ssd->tree 2025-09-08 15:46:36 +09:00
ssd.h include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
theme.h theme: replace THEME_(IN)ACTIVE with SSD_(IN)ACTIVE 2025-10-14 07:48:27 +02:00
translate.h Add translate.h for HAVE_NLS includes/defines 2025-09-26 10:43:23 -04:00
view-impl-common.h view: deduplicate foreign-toplevel creation code 2025-11-27 01:26:55 -05:00
view.h view: add view_is_modal_dialog() 2026-01-27 21:10:32 +00:00
window-rules.h tree-wide: use enum types/constants where appropriate 2025-08-28 01:33:23 +09:00
workspaces.h ext-workspace protocol integration 2024-12-23 04:14:53 +01:00
xwayland.h xwayland: flush XCB connection to mitigate race between Raise and input 2025-12-02 19:50:03 +01:00