#46 no refresh after wake from sleep

X server (105)

running xonx 0.5 on xfree86 on macosx 10.0.1 (build 4L13). my mac is set to put the display to sleep after 20 min of inactivity, and never to put the system to sleep. stay in xdarwin and let the mac put the screen to sleep. move the mouse and when the mac wakes up, the screen will be black except for your cursor (the x cursor). if you manage to grab a window and move it, parts refresh but not all.

after the mac wakes from sleep, the entire x display should be refreshed. can this be done?

thanks for the great work!


  • Torrey T. Lyons

    Torrey T. Lyons - 2001-05-05
    • priority: 5 --> 6
  • Torrey T. Lyons

    Torrey T. Lyons - 2001-06-12

    Logged In: YES

  • Torrey T. Lyons

    Torrey T. Lyons - 2001-06-12
    • assigned_to: nobody --> torrey
  • Nobody/Anonymous

    Logged In: NO

    I agree with the above, with the additional comment that
    the screen also does not lock when OS X sleeps. I
    have my sleep settings as decribed above, plus I have
    OS X lock the screen (i.e. require a password to unlock
    the screen saver). If I forget and walk away for 20
    minutes with XDarwin running in foreground, when I get
    back and wake up the system - the screen is not
    locked; no screen saver is running, and no "enter
    password" dialog box is displayed when I wake it up.

  • Sean Ahern

    Sean Ahern - 2002-01-24

    Logged In: YES

    You should be able to work around this with a bounce
    on Command-Option-A. Hit that twice and things
    should be redrawn. I know that's not a solution, but...

  • Mario Klebsch

    Mario Klebsch - 2002-01-25

    Logged In: YES

    To get the screen lock in your X session, you can use xautolock. It starts xlock when there is no activity for a specified amount of time, Of course, it does have a sleep now and a no sleep corner.

    However, I am not sure, wether the exclusion of the X11 screen from MacOS automatic screen locking (and from the MacOS screen saver) is 'the right way'.

  • Torrey T. Lyons

    Torrey T. Lyons - 2002-11-21
    • status: open --> open-fixed
  • Torrey T. Lyons

    Torrey T. Lyons - 2002-11-21

    Logged In: YES

    This bug is fixed in the TOT. That is, the screen refreshes automatically on wake from sleep. How to handle screen locking is not so clear. One possibility is to have a preference which causes the screen to revert back to Aqua immediately before going to sleep. Thus if you have an Aqua lock on, it would require a password on wakeup.

  • Torrey T. Lyons

    Torrey T. Lyons - 2003-02-07
    • status: open-fixed --> closed-fixed

Log in to post a comment.