shell: Remove unused shsurf->focus_state
This commit is contained in:
parent
b8e0d0f5ac
commit
c94de6450e
@ -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…
Reference in New Issue
Block a user