I use this alias for toggling between fullscreen and windowed mode.
alias +fullscreen "fullscreen_01"
alias fullscreen_01 "vid_width 768 ; vid_height 576 ; vid_fullscreen 0 ; vid_restart ; alias -fullscreen fullscreen_02"
alias fullscreen_02 "vid_width 1024 ; vid_height 768 ; vid_fullscreen 1 ; vid_restart ; alias -fullscreen fullscreen_01"
bind F9 "+fullscreen"
This bind is very useful for toggling the screen, but it's annoying to see the window mode shifted to the left hand corner. Everytime, I had to click on the screen and move it to the center to my comfort. Any idea how to make it centers of the screen automatically?