diff options
Diffstat (limited to 'src/user/include/cxx/raleigh/window.h')
-rw-r--r-- | src/user/include/cxx/raleigh/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/include/cxx/raleigh/window.h b/src/user/include/cxx/raleigh/window.h index f82f9a9..21ae511 100644 --- a/src/user/include/cxx/raleigh/window.h +++ b/src/user/include/cxx/raleigh/window.h @@ -20,11 +20,13 @@ namespace raleigh { enum try_actions_return_t {NONE, GOOD, DELETE}; try_actions_return_t try_actions(); void show(); + void focus(widget &w); private: _window_handle_t handle; _pixel_t *pixbuf; coord size; widget &root; + widget *focussed; _pixel_t bg_color; bool needs_repaint; void paint_full(); |