• Sam Lantinga's avatar
    Date: Mon, 29 Dec 2008 23:29:52 +0100 · bfbe8d84
    Sam Lantinga authored
    From: Couriersud
    Subject: SDL1.3: Some X11 diffs
    
    The attached diff fixes the following issues in the X11 backend:
    
    a) When calling resize, actually a move was performed. This has been
    corrected.
    
    b) DisplayHeight and DisplayWidth do not return up-to-date information
    after a modeswitch using the xrandr code, which I enabled in
    x11_modes.c
    Height and width are now queried from the root window and all
    occurrences of DisplayHeight and DisplayWidth changed.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403393
    bfbe8d84
SDL_x11window.c 24.7 KB