diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-01 20:10:14 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-01 20:10:14 +0200 |
commit | 85df1646ecccc7e484e2efc903166b89e4c55684 (patch) | |
tree | 66bb29f09354a3a9bb7b448dfc10929f27d0210e /src/gui/widget.c | |
parent | 8fa1c09199378f86ca7c3fc4b844bd272926cdf6 (diff) | |
download | abaos-85df1646ecccc7e484e2efc903166b89e4c55684.tar.gz abaos-85df1646ecccc7e484e2efc903166b89e4c55684.tar.bz2 |
fixed get_focus error in widget (called the wrong parent)
the text widget reacts to mouse down and key events and appends text to the output buffer
so we have text input in GUI mode
Diffstat (limited to 'src/gui/widget.c')
-rw-r--r-- | src/gui/widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widget.c b/src/gui/widget.c index 1c26680..81ab264 100644 --- a/src/gui/widget.c +++ b/src/gui/widget.c @@ -46,7 +46,7 @@ void widget_get_focus( void *obj, widget_t *widget ) widget_t *o = obj; if( o->parent != NULL ) { - o->parent->vtable->get_focus( widget->parent, widget ); + o->parent->vtable->get_focus( o->parent, widget ); } } |