Skip to content
Snippets Groups Projects
  1. Jun 02, 2023
    • Deucе's avatar
      Create a Pixmap for the icon rather than _NET_WM_ICON · 2b8b2b03
      Deucе authored
      It seems whatever WM XWayland uses doesn't actually use _NET_WM_ICON
      like pretty much everything else for the last 30 years does, so we
      need to go old-school or settle for the default pengion icon, which
      offends me personally.
      2b8b2b03
  2. May 31, 2023
    • Deucе's avatar
      More X11 improvements · ea7a6600
      Deucе authored
      Use the default visual and depth instead of "best"
      Use Xrender for sclaing when library is available and server supports it
      Set VisualIsRGB8 when possible
      ea7a6600
  3. May 04, 2023
    • Deucе's avatar
      Overhaul of X support · a59aba35
      Deucе authored
      Create initial window at final size to avoid extra resize at start
      - Load vmode before initializing the window
      Track scaling whenever the X window is adjusted
      Replace x11_window_height/x11_window_width with vstat.winwidth/vstat.winheight
      Resize zim from init_mode_internal() to ensure it tracks current size on initial expose
      Honour ciolib_initial_scaling
      Check xim validity in local_draw_rect() in case of race
      Add check to prevent divide-by-zero in handle_resize_event()
      Use vstat for current on-screen info, and x_cvstat for desired info
      - This allows using vstat.scaling in place of old_scaling
      Have scaling set use a new mutex-protected variable
      Fill in local_draw_rect() so we don't miss expose
      Set max window size based on user area (or root window size if not available)
      The WM Cyan uses may hate this...
      
      This absolutely *must* fix the issue in SF ticket 103.
      a59aba35
  4. May 07, 2020
  5. Apr 17, 2020
  6. Apr 14, 2020
  7. Apr 12, 2020
  8. Apr 11, 2020
  9. Mar 07, 2020
  10. Feb 13, 2018
    • deuce's avatar
      Beginnings of a massive ciolib overhaul... · 210cc022
      deuce authored
      We're switching to TrueColor now, and maintaining a 65536 entry palette
      for the various palettized bits.  This change hurts the overlay output most
      since it currently means floating point calculations for every pixel.
      
      The getfont() function now takes a fontnum argument so you can get all the
      current fonts.
      
      The vmem array now holds the font data, so once a glyph is written to the
      screen, it can stay in that font "forever".  This still has some issues
      with savescreen()/restorescreen() since there's no extension to grab the new
      stuff... that'll be coming soon, likely replacing the pgettext() and
      pputtext() functions.  For now, various popups will likely reset fonts to
      the default font on the screen.
      
      Now that we have all this, the status bar in SyncTERM can retain the default
      font and colours at all times.  Further, menus can be displayed in the "right"
      colours and fonts, and no more translation will be needed.  This is a work
      in progress though, so there's likely to be glitches.  The scrollback doesn't
      have the font data either (same issue as savescreen()/restorescreen()).
      210cc022
  11. Feb 12, 2018
  12. Feb 06, 2018
    • deuce's avatar
      Video drivers OWN the following vstat members: · 692b922c
      deuce authored
      cols, rows, charwidth, charheight, scaling, vmultiplier.
      
      Only the drivers are allowed to update them, so the drivers don't need to
      use locks for them.  The drivers have their own internal copies, so we
      don't need vstatlock in the drivers except when updating these values.
      692b922c
  13. Jan 31, 2018
  14. Apr 30, 2015
  15. Feb 19, 2015
  16. Apr 21, 2011
  17. Oct 11, 2007
  18. Sep 19, 2007
  19. Aug 25, 2007
    • deuce's avatar
      Latest overhaul... · c424fc2f
      deuce authored
      X11 and SDL modes share the graphics generation.  A new graphical mode
      now only needs an init and keyboard functions to work.
      c424fc2f
Loading