clicksnap CTRL+click window snapping for Openbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Napora 954db439ce ignore docks, better gap calc 2 years ago ignore docks, better gap calc 2 years ago - better handle undecorated windows 2 years ago
clicksnap ignore docks, better gap calc 2 years ago
clicksnap.png initial commit 2 years ago


clicksnap for Openbox - click on the appropriate area of the window to snap it in a given direction. Works with active and inactive windows. Configurable gap between windows.

(Far from perfection, but imho already enough good to use)


  • wmctrl
  • xdotool
  • xwininfo


chmod +x clicksnap

Add this mousebind action to context Frame:

  <mousebind action="Press" button="C-Left">
    <action name="UnmaximizeFull"/>
    <action name="Execute">


clicksnap is binded to Ctrl + Left Mouse Click Click inside window you like to move. There are 9 areas ... see screenshot :)