Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Feb 19, 2014
  1. invalid xFree #12

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

    authored
    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 authored
    …ings, plus a dot, plus the trailing 0
Commits on Apr 18, 2013
  1. Merge pull request #5 from jrk-/vim-modeline

    authored
    Modeline for vim to keep code formatting consistent
  2. Merge pull request #6 from jrk-/xresources

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

    Bugfix: Segfault when XResourceManagerString is NULL

    jotrk authored
    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 authored
    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 authored
    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 authored
    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 authored
    Don't force tabstop and shiftwidth on users, these are individual
    settings.
  5. fixes #2

    authored
  6. Merge pull request #4 from jrk-/alttab

    authored
    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 authored
    Need to invert value to make the disabled state the default case.
  3. @jotrk
  4. @jotrk
  5. @jotrk

    New command line option '-index'

    jotrk authored
    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 authored
    Retains the old behaviour if keys without modifier are used.
  2. @jotrk

    Implement new behaviour based on release of modifier key

    jotrk authored
    * 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 authored
    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 authored
    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 authored
    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 authored
    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 authored committed
  2. @DaveDavenport

    Quick and dirty hack to set window opacity

    DaveDavenport authored committed
  3. @DaveDavenport

    Set WM_NAME to simpleswitcher

    DaveDavenport authored committed
  4. Fix memory leak in boxes.

    Martijn Koedam authored committed
    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

    authored
Commits on Nov 7, 2012
  1. IsUnmapped bug

    authored
Something went wrong with that request. Please try again.