labwc/include
John Lindgren 8fb2ecefcb xwayland: always offer focus in Globally Active case
In 9e3785f8cd, a heuristic was added to assume that NORMAL and DIALOG
window types were always focusable. (This was before we had the "offer
focus" mechanism in place.)

However, we should still call wlr_xwayland_surface_offer_focus() for
these views, in case they actually don't want focus. (This is uncommon
but has recently been seen with WeChat popups, which have both NORMAL
and UTILITY type.)

To make this possible, refine view_wants_focus() to return either
LIKELY or UNLIKELY for Globally Active input windows. This decouples
the question of "should we try to focus this view" from the actual
mechanism used to do so.
2025-06-10 11:03:54 -04:00
..
common Replace scaled_rect_buffer with lab_scene_rect 2025-06-10 06:03:03 +09:00
config libinput: implement threeFingerDrag feature 2025-06-07 21:30:07 +09:00
img img: remove padding_x from lab_img_render() 2025-01-25 07:27:21 +09:00
input input: do not bind motion mode to tablet 2025-06-08 05:31:23 +09:00
menu menu: dynamically generate top-level pipemenus 2025-03-10 19:42:03 +00:00
protocols Fix typos 2025-01-09 06:59:57 +00:00
action.h menu: remove ShowMenu action from menu items 2025-02-07 17:58:55 +01:00
buffer.h buffer: add buffer_create_from_wlr_buffer() 2025-06-07 02:12:56 +09: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 snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
foreign-toplevel-internal.h foreign-toplevel: add ext-toplevel-list support 2024-11-09 20:06:19 +00:00
foreign-toplevel.h foreign-toplevel: create generic abstraction 2024-11-09 20:06:19 +00:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
labwc.h Replace multi_rect with lab_scene_rect 2025-06-10 06:03:03 +09:00
layers.h layers: arrange layers on destroy 2025-06-02 22:00:43 +01: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: add node_scaled_scene_buffer_from_node 2024-12-23 18:11:32 +09:00
osd.h rcxml: validate total osd field width 2025-05-05 00:05:24 +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
overlay.h Replace multi_rect with lab_scene_rect 2025-06-10 06:03:03 +09:00
placement.h view: honor automatic placement when adjusting floating geometry 2023-12-30 16:50:09 +00:00
regions.h overlay: add snap-to-edge overlay (PR #1652) 2024-04-05 04:35:31 +02:00
resistance.h interactive: allow moving horizontally/vertically maximized window 2024-08-26 20:30:22 +02:00
resize-indicator.h Replace _ with - in source file names 2024-05-22 07:10:51 +01:00
resize-outlines.h Implement <resize><drawContents> 2024-06-15 21:17:01 +01:00
session-lock.h session-lock: restore focused view on unlock 2024-07-07 15:48:32 +09:00
snap-constraints.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
snap.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
ssd-internal.h ssd-titlebar: show fallback icon when no app_id is set 2025-02-23 22:56:03 +01:00
ssd.h Support xdg-toplevel-icon protocol 2025-06-07 02:12:56 +09:00
theme.h osd: add osd.workspace-switcher.boxes.border.width 2025-04-14 20:06:38 +01:00
view-impl-common.h xwayland: notify correct window stacking order to xwayland 2025-04-01 16:48:40 +09:00
view.h xwayland: always offer focus in Globally Active case 2025-06-10 11:03:54 -04:00
window-rules.h Revert "keyboard: add window rule to send release-events (#2377)" 2024-12-29 16:27:34 +09:00
workspaces.h ext-workspace protocol integration 2024-12-23 04:14:53 +01:00
xwayland.h xwayland: use wlr_xwayland_surface_has_window_type() 2025-05-22 23:09:41 +01:00