shell: Remove unused shsurf->focus_state
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 31 Jul 2012 14:51:22 +0000 (10:51 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 31 Jul 2012 14:51:22 +0000 (10:51 -0400)
src/shell.c

index a8f7127..fd82fcf 100644 (file)
@@ -185,8 +185,6 @@ struct shell_surface {
 
        struct weston_transform workspace_transform;
 
-       struct focus_state *focus_state;
-
        struct weston_output *fullscreen_output;
        struct weston_output *output;
        struct wl_list link;
@@ -398,7 +396,6 @@ focus_state_create(struct weston_seat *seat)
 
        surface = keyboard->focus;
        shsurf = get_shell_surface((struct weston_surface *)keyboard->focus);
-       shsurf->focus_state = state;
 
        state->seat = seat;
        state->keyboard_focus = shsurf->surface;