chickadee » sdl2 » window-event-data1

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

Get or set the sdl2:window-event's "data1" 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 width; if the window was moved, this will hold the new x position.