File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ automatically switch to operate on the new display.
3434When the display mode is set, several events are placed on the pygame event
3535queue. ``pygame.QUIT`` is sent when the user has requested the program to
3636shut down. The window will receive ``pygame.ACTIVEEVENT`` events as the display
37- gains and loses input focus. If the display is set with the
38- ``pygame.RESIZABLE`` flag, ``pygame.VIDEORESIZE`` events will be sent when the
39- user adjusts the window dimensions. Hardware displays that draw direct to the
40- screen will get ``pygame.VIDEOEXPOSE`` events when portions of the window must
41- be redrawn.
37+ gains and loses input focus. If the display is set to be resizable with the
38+ ``pygame.RESIZABLE`` flag, ``pygame.VIDEORESIZE`` event(s) will be sent when the
39+ user adjusts the window dimensions. Depending on your platform, this may be
40+ multiple gradual events or one event at the end (Windows). Hardware displays
41+ that draw direct to the screen will get ``pygame.VIDEOEXPOSE`` events when
42+ portions of the window must be redrawn.
4243
4344A new windowevent API was introduced in pygame 2.0.1. Check event module docs
4445for more information on that
You can’t perform that action at this time.
0 commit comments