A character is pressing against any part of the window. This includes the window frame and windowsill.
Only tag against glass if the character is pressing against the actual glass of the window. Conversely, only tag against_window if the glass is a windowpane (i.e. part of a window).