Don't crash when the previous keyboard surface goes away

Just always set keyboard focus to the top surface.
This commit is contained in:
Kristian Høgsberg 2011-01-28 15:53:07 -05:00
parent 0ce245761c
commit f992b2fc47
2 changed files with 16 additions and 11 deletions

View file

@ -70,7 +70,6 @@ struct wlsc_input_device {
struct wl_list link;
uint32_t modifier_state;
struct wl_selection *selection;
struct wl_surface *saved_keyboard_focus;
};
struct wlsc_drm {