diff options
author | fvogel <fvogelnew1@free.fr> | 2016-05-01 20:03:04 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-05-01 20:03:04 (GMT) |
commit | 09fba1aae3aed0ba4d73890c19fe4c867fce8f82 (patch) | |
tree | 1b64ab21b1403ee5f4037e73ab310526762fe2f6 /generic/tkListbox.c | |
parent | a49d18f50fd597f7b77eae71f3df70469136f839 (diff) | |
parent | ede13558f13645c01b9dff12f05b15d6e0435995 (diff) | |
download | tk-09fba1aae3aed0ba4d73890c19fe4c867fce8f82.zip tk-09fba1aae3aed0ba4d73890c19fe4c867fce8f82.tar.gz tk-09fba1aae3aed0ba4d73890c19fe4c867fce8f82.tar.bz2 |
Merged core-8-6-branchtip_446_undodepth
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r-- | generic/tkListbox.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c index c7effdd..b059727 100644 --- a/generic/tkListbox.c +++ b/generic/tkListbox.c @@ -3223,16 +3223,7 @@ static void GenerateListboxSelectEvent( Listbox *listPtr) /* Information about widget. */ { - union {XEvent general; XVirtualEvent virtual;} event; - - memset(&event, 0, sizeof(event)); - event.general.xany.type = VirtualEvent; - event.general.xany.serial = NextRequest(Tk_Display(listPtr->tkwin)); - event.general.xany.send_event = False; - event.general.xany.window = Tk_WindowId(listPtr->tkwin); - event.general.xany.display = Tk_Display(listPtr->tkwin); - event.virtual.name = Tk_GetUid("ListboxSelect"); - Tk_HandleEvent(&event.general); + TkSendVirtualEvent(listPtr->tkwin, "ListboxSelect", NULL); } /* |