It is a rule of thumb that you can't change the monitor resolution on X11 servers once they have started. We haven't explored all the bad things that can happen, but you shouldn't be doing this. This is a limitation of the X11 protocol design.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We might be able to shut down a little more cleanly in this case. The OS sends us a notification when screen arrangement changes. If it's something that X11 can't handle, we can present a "Live Dangerously / Quit" dialog and ignore XWarpCursor until the user clicks one of those buttons.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=133579
It is a rule of thumb that you can't change the monitor resolution on X11 servers once they have started. We haven't explored all the bad things that can happen, but you shouldn't be doing this. This is a limitation of the X11 protocol design.
Logged In: YES
user_id=37183
We might be able to shut down a little more cleanly in this case. The OS sends us a notification when screen arrangement changes. If it's something that X11 can't handle, we can present a "Live Dangerously / Quit" dialog and ignore XWarpCursor until the user clicks one of those buttons.
Logged In: YES
user_id=133579
Good idea about the "Live Dangerously" dialog. This would add a lot of polish to this user interface pitfall.
Logged In: YES
user_id=133579
There is some code from Apple's X11 that handles resolution
changes well. I plan to merge this into XFree86 to fix this bug.