mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 08:28:09 +02:00
shell: Remove unused shsurf->focus_state
This commit is contained in:
parent
b8e0d0f5ac
commit
c94de6450e
1 changed files with 0 additions and 3 deletions
|
|
@ -185,8 +185,6 @@ struct shell_surface {
|
||||||
|
|
||||||
struct weston_transform workspace_transform;
|
struct weston_transform workspace_transform;
|
||||||
|
|
||||||
struct focus_state *focus_state;
|
|
||||||
|
|
||||||
struct weston_output *fullscreen_output;
|
struct weston_output *fullscreen_output;
|
||||||
struct weston_output *output;
|
struct weston_output *output;
|
||||||
struct wl_list link;
|
struct wl_list link;
|
||||||
|
|
@ -398,7 +396,6 @@ focus_state_create(struct weston_seat *seat)
|
||||||
|
|
||||||
surface = keyboard->focus;
|
surface = keyboard->focus;
|
||||||
shsurf = get_shell_surface((struct weston_surface *)keyboard->focus);
|
shsurf = get_shell_surface((struct weston_surface *)keyboard->focus);
|
||||||
shsurf->focus_state = state;
|
|
||||||
|
|
||||||
state->seat = seat;
|
state->seat = seat;
|
||||||
state->keyboard_focus = shsurf->surface;
|
state->keyboard_focus = shsurf->surface;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue