Skip to content
Snippets Groups Projects
Unverified Commit ba8a0d04 authored by Philipp Kerling's avatar Philipp Kerling Committed by Quentin Glidic
Browse files

desktop-shell: Track focused shell surface by main surface


The focused surface is used for determining whether shell surfaces
are activated. They should also be considered activated when a
subsurface has focus. Inserting a call to
weston_surface_get_main_surface fixes this.

seat->focused_surface is only used for shell_surface keyboard focus
tracking.

Signed-off-by: default avatarPhilipp Kerling <pkerling@casix.org>
Reviewed-by: default avatarQuentin Glidic <sardemff7+git@sardemff7.net>
parent 4c4b9cfb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment