1. Nov 22, 2021
    • okan's avatar
      sync parse.y changes from base; ok naddy@ · a9eeb046
      okan authored
      original from naddy@:
      > Don't declare variables as "unsigned char *" that are passed to
      > functions that take "char *" arguments.  Where such chars are
      > assigned to int or passed to ctype functions, explicitly cast them
      > to unsigned char.
      >
      > For OpenBSD's clang, -Wpointer-sign has been disabled by default,
      > but when the parse.y code was built elsewhere, the compiler would
      > complain.
      >
      > With help from millert@
      > ok benno@ deraadt@
      a9eeb046
  2. Nov 20, 2021
  3. Apr 22, 2021
    • kn's avatar
      Keep pointer within window on maximize/fullscreen toggle · d46f34f0
      kn authored
      Spawn a window, maximize it in any way, move the cursor to a window border
      that is not on the screen's edge and unmaximize again:  While the window
      goes back the cursor stays at the screen's edge, i.e.  focus is lost to the
      underlaying window.
      
      Moving, resizing, tiling or snapping windows in any way always moves the
      cursor along iff needed, e.g. using MS-[hjkl] to move a small window from
      the center to the edge keeps the cursor within window borders -- no matter
      what you do with the keyboard, focus stays on that window.
      
      Make CM-f, CM-m, CM-equal and CMS-equal (default bindings) for toggling
      full-screen mode, maximization, vertical maximization and horizontal
      maximization of the current window drag the cursor along if needed as well.
      
      OK okan kmos dv
      d46f34f0
  4. Apr 26, 2020
    • tobias's avatar
      Fixed memory leak in xu_get_strprop. · 91c05f94
      tobias authored
      If a client calls XSetTextProperty for a window to clear all its
      properties, then allocated memory within libX11 is not freed.
      
      OK okan@
      91c05f94
  5. Apr 17, 2020
    • tobias's avatar
      Prevent out of boundary write with configuration files in which too many · 3ebe04ee
      tobias authored
      quoted arguments are stored for other window managers.
      
      The quotation handling happens within the while loop without checking if
      the "end" limit has been already reached. If this happens, the final
      NULL assignment leads to an out of boundary write on stack.
      
      OK okan@
      3ebe04ee
  6. Apr 16, 2020
  7. Mar 24, 2020
  8. Mar 21, 2020
  9. Mar 20, 2020
  10. Mar 17, 2020
  11. Mar 15, 2020
  12. Mar 14, 2020
  13. Feb 28, 2020
  14. Feb 27, 2020
  15. Feb 08, 2020
  16. Feb 04, 2020
  17. Jan 23, 2020
  18. Jan 21, 2020
  19. Aug 14, 2019
  20. Aug 12, 2019
  21. Jul 10, 2019
    • kn's avatar
      Add application section · fdb841c3
      kn authored
      Link what is described as "applications" here to how they are actually
      defined in cwmrc(5).
      
      While here, call the configuration file what it is instead of reusing
      the default path (already mentioned in the FILES section).
      
      OK okan
      fdb841c3
  22. Jul 03, 2019
  23. Apr 30, 2019
  24. Mar 11, 2019
  25. Mar 09, 2019
  26. Mar 08, 2019
  27. Mar 07, 2019