Skip to content
Commits on Feb 19, 2014
  1. invalid xFree #12

    committed Feb 19, 2014
Commits on Jan 14, 2014
Commits on May 31, 2013
  1. Merge pull request #9 from josinalvo/master

    committed May 30, 2013
    a small bug fix
Commits on May 30, 2013
  1. @josinalvo

    corrected bug on a malloc: string size was the concatenation of 2 str…

    josinalvo committed May 30, 2013
    …ings, plus a dot, plus the trailing 0
Commits on Apr 18, 2013
  1. Merge pull request #5 from jrk-/vim-modeline

    committed Apr 18, 2013
    Modeline for vim to keep code formatting consistent
  2. Merge pull request #6 from jrk-/xresources

    committed Apr 18, 2013
    Xresources!
Commits on Apr 17, 2013
  1. @jotrk

    Bugfix: Segfault when XResourceManagerString is NULL

    jotrk committed Apr 17, 2013
    Using the XResourceManagerString unchecked caused a segfault. This
    happens when Xresources are not loaded, e.g. using xrdb.
Commits on Apr 12, 2013
  1. @jotrk
Commits on Apr 11, 2013
  1. @jotrk

    Read configuration values from X resources

    jotrk committed Apr 11, 2013
    Configuration values can now be specified as X resources (e.g.
    ~/.Xdefaults, xrdb -load ~/.Xdefaults, man 1 xrdb).
    Name or Instance is 'simpleswitcher', Class is 'Simpleswitcher'.
    
    Possible values are:
    
    	key
    	dkey
    	width
    	lines
    	font
    	foreground
    	background
    	alternatebg
    	highlightfg
    	highlightbg
    	bordercolor
    	release
    	startindex
    	borderwidth
    	opacity
    
    E.g.:
    	Simpleswitcher.key: F12
    	Simpleswitcher.width: 50
    	etc.
  2. @jotrk

    Struct for reading config values from X resources

    jotrk committed Apr 11, 2013
    We need to know the type of the value to process it properly on parsing.
    Passing the values as addresses is necessary because num and str need to
    be compile time constants for assigning them in the array.
  3. @jotrk

    Replace defines for options with in situ values

    jotrk committed Apr 11, 2013
    The values are now assigned at compiled time. Hence it is not necessary
    anymore to check for valid command line values at runtime and assign the
    default value if necessary. Now it is sufficient to assign a new value
    only if there actually is one.
    
    This is also some preliminary work for other sources of configuration
    values.
  4. @jotrk

    New modelines without tabstop & shiftwidth

    jotrk committed Apr 11, 2013
    Don't force tabstop and shiftwidth on users, these are individual
    settings.
  5. fixes #2

    committed Apr 11, 2013
  6. Merge pull request #4 from jrk-/alttab

    committed Apr 10, 2013
    Options modifier+Key window/workspace switching behaviour like the common Alt-Tab (i.e. commit selected change on modifier release)
Commits on Apr 10, 2013
  1. @jotrk
  2. @jotrk

    Make use of cmd line option for release feature

    jotrk committed Apr 10, 2013
    Need to invert value to make the disabled state the default case.
  3. @jotrk
  4. @jotrk

    Documentation for '-index' option

    jotrk committed Apr 10, 2013
  5. @jotrk

    New command line option '-index'

    jotrk committed Apr 10, 2013
    For specifying which item gets selected first when calling
    simpleswitcher.
  6. @jotrk
Commits on Apr 9, 2013
  1. @jotrk

    Actually implement point #1 from the previous commit

    jotrk committed Apr 9, 2013
    Retains the old behaviour if keys without modifier are used.
  2. @jotrk

    Implement new behaviour based on release of modifier key

    jotrk committed Apr 9, 2013
    * Works only when a modifier key is specified, e.g. mod1+Tab, otherwise
      normal old behaviour
    * Pressing modifier + key will pop up simpleswitcher, holding down
      modifier and repeatedly pressing key will cycle through the list
      Upon release of modifier the selected entry will be focused
    * Hitting Escape once turns of the release action. Now entries can be
      filtered by typing, programs can be started or entries can be cycled
      through again
    * Hitting Escape a second time aborts simpleswitcher without any action
  3. @jotrk
  4. @jotrk

    Macro for checking if a keycode is a modifier

    jotrk committed Apr 9, 2013
    Since maximally 8 keycodes per modifier are allowed, a loop free
    painless macro can be used instead.
  5. @jotrk

    Grab keys which function as modifiers

    jotrk committed Apr 9, 2013
    Those keys can be found using XGetModifierMapping().
    Keycode * keycodes parameter serves as return parameter for later use of
    modifier keycodes.
  6. @jotrk

    Factor out keycode grabbing for reuse

    jotrk committed Apr 9, 2013
    Leave grab_key stub in place for compatibility with existing code.
    grab_keycode() can now be used by other functions (particularly
    grab_modifier().
  7. @jotrk

    Start selection at index 0

    jotrk committed Apr 9, 2013
    The menu items appear always in the same order. Therefore selecting the
    second item (0-based list) appears to be a bit arbitrary, as it is
    sometimes the currently focused window, the next window or some other
    window.
Commits on Jan 26, 2013
  1. Fix building ubuntu

    Martijn Koedam committed with Jan 20, 2013
  2. @DaveDavenport
  3. @DaveDavenport
  4. Fix memory leak in boxes.

    Martijn Koedam committed with Jan 22, 2013
    Array elements where free'ed but not the array itself.
Commits on Nov 28, 2012
Commits on Nov 18, 2012
  1. shift-tab moves up

    committed Nov 18, 2012
Commits on Nov 7, 2012
  1. IsUnmapped bug

    committed Nov 7, 2012
Something went wrong with that request. Please try again.