Add support for using relative expressions in move and resize actions
authorMikael Magnusson <mikachu@gmail.com>
Fri, 16 Apr 2010 16:04:24 +0000 (18:04 +0200)
committerDana Jansens <danakj@orodu.net>
Mon, 17 May 2010 23:31:21 +0000 (19:31 -0400)
commit7a679dd1989ee0b5b36ab2d6b16af47be8a537ad
treef981d2a8fb64785371ca618b213299b083ef4421
parent1c637efcbb26211f0274687beb8f462d5db36cd5
Add support for using relative expressions in move and resize actions

Have MoveResizeTo use config_parse_gravity_coord instead of duplicating it locally
Allow MoveResizeTo positions and sizes and per app positions to be relative to screen size
Rename to config_parse_relative_number so it can be used for sizes too
Add relative numbers to width/height in MoveResizeTo
Add relative numbers to MoveRelative
Add relative numbers to ResizeRelative, these are for the client size, not screen size
openbox/actions/moverelative.c
openbox/actions/moveresizeto.c
openbox/actions/resizerelative.c
openbox/config.c
openbox/config.h
openbox/geom.h
openbox/place.c