Skip to content
Snippets Groups Projects
  1. Jun 08, 2023
    • Deucе's avatar
      More ATASCII improvements · 32ca49c4
      Deucе authored
      Fix bad and poor unicode mappings, add support for sending Insert
      and Pipe.
      32ca49c4
    • Deucе's avatar
      Support inverse mode in atascii · f2636442
      Deucе authored
      Toggled using backtick.
      Current state is shown in the status bar.
      
      Since we previously couldn't actually *show* the status bar in
      ATASCII (or C64) mode, enable that as well.  This means supporting
      40-column status bars too.
      
      We still default status bar to off for those modes, because that's
      likely what people actually want.
      
      Also, it seems ENTER was broken in ATASCII mode, so fix that as well.
      Implements SF feature 61
      f2636442
    • Deucе's avatar
      Missed a 'C' in ICCCM · ffb261a6
      Deucе authored
      ffb261a6
    • Deucе's avatar
      7f7b6943
    • Deucе's avatar
      More work on X11 fullscreen mode. · 3023388a
      Deucе authored
      Save the window position and size when we enter fullscreen, and
      restore when we leave... this was a bigger box of worms than
      expected since we can get ConfigureNotify events that tell is
      "Something" changed, but not be able to know the current window
      position.
      
      Just remove the x_get_window_info() and anything else that cares
      about the window position and derive it from the ALT-Enter keypress
      instead.
      
      At the same time, try to remove as much special-casing for
      fullscreen as possible.
      
      Tested under marco and xfwm4... will test under Sommelier "soon"
      3023388a
  2. Jun 07, 2023
    • Deucе's avatar
      Work around marco or SDL bug in SDL_SetWindowMinimumSize() · 18fd98aa
      Deucе authored
      When using the marco WM, and resizing using ALT-Right-drag, calls to
      SDL_SetWindowMinimumSize() result in the top-left corner of the
      window moving up and to the left (appears to be by the border size).
      
      To prevent this from being a maddening issue under marco, ensure
      we only call SDL_SetWindowMinimumSize() once when the minimum size
      changes on the window.
      
      Fixes SF ticket 115, thanks Ragnarok!
      
      While we're hear, ensure the minimium maximum window size holds
      the original sized window... we're not interested in downscaling.
      18fd98aa
    • Deucе's avatar
      Fixes after testing on marco · 8596d170
      Deucе authored
      Don't always start with _NET_WM_STATE containing
      _NET_WM_STATE_FULLSCREEN
      
      Enable PropertyChange events
      
      Adjust x_cvstat.win* when _NET_WM_STATE gets
      _NET_WM_STATE_FULLSCREEN added
      
      Don't disable fullscreen in ConfigureNotify handler when
      fullscreen is still pending
      8596d170
    • Deucе's avatar
      Some minor fixups... · 9ebef573
      Deucе authored
      On expose, always redraw the entire screen.  The calculations were
      wrong and with fractional scaling, some of them will always be wrong.
      
      Don't clear the screen when xim is resized.
      9ebef573
    • Deucе's avatar
    • Deucе's avatar
      f5d30dd3
  3. Jun 06, 2023
  4. Jun 05, 2023
  5. Jun 04, 2023
    • Deucе's avatar
      Add X11 fullscreen and do a bunch of other fixes · bf22af82
      Deucе authored
      Just use _NET_WM_STATE protocol for fullscreen... messing around
      with the methods is pretty painful.
      
      Because we're not messing with other stuff, we can likely remove
      all the code I added to prepare for this. :D
      
      Testing this really highlighted other broken bits, so a bunch of
      that has been fixed as well... including the bug that Ragnorok
      hadn't reported yet as of last time I looked (corrupted screen when
      maximixed).
      bf22af82
    • Rob Swindell's avatar
      Why are resolve_ip() and rblchk() returning the (sometimes 64-bit) ulong? · 936ccf33
      Rob Swindell authored
      Or even weirder, u_long?
      
      And dereffing a ulong/u_long pointer where you expect to find an IPv4 address?
      Yet even weirder still.
      
      Fix that spit: It appears in_addr_t is defined on all platforms (?), so use
      that type instead.
      936ccf33
    • Rob Swindell's avatar
      Fix more potential null-ptr-derefs in use of gethostbyname() · 2989d950
      Rob Swindell authored
      No known sightings of these sites actually being the location of a segfault,
      but as we learned from the segfaults in rblchk(), the first entry in the
      h_addr_list can be NULL in some cases.
      2989d950
Loading