commit | 86adef9d54d41b1594749c00abab24482248fa5c | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Aug 13 22:25:53 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Aug 13 22:28:10 2012 -0400 |
tree | 728ba50f39ba29be80b5e2c82f6a71de1e0e63da | |
parent | d3800e4788264c007da387f6edaff538ad78ce07 [diff] [blame] |
window.c: Handle multiple keyboard foci Keep a count of number of wl_keyboard focus we have instead of tracking the more recent wl_keyboard.
diff --git a/clients/window.h b/clients/window.h index da18932..779bc64 100644 --- a/clients/window.h +++ b/clients/window.h
@@ -205,6 +205,9 @@ struct window * window_create_custom(struct display *display); +int +window_has_focus(struct window *window); + typedef void (*menu_func_t)(struct window *window, int index, void *data); void