chickadee » sdl2 » window-event-data2

window-event-data2 eventprocedure
set! (window-event-data2 event) valsetter
window-event-data2-set! event valsetter

Get or set the sdl2:window-event's "data2" field, as an integer. The meaning of this value depends on what kind of window event it was (see window-event-event). E.g. if the window was resized, this will hold the new window height; if the window was moved, this will hold the new y position.