]> git.sur5r.net Git - i3/i3/commit
Always auto center on 'scratchpad show' if window hasn't been repositioned by the...
authorSebastian Ullrich <sebasti@nullri.ch>
Mon, 24 Sep 2012 19:14:40 +0000 (21:14 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 18 Feb 2013 09:38:28 +0000 (10:38 +0100)
commit49979c9d15eb5095ce9dd47a757bf0cae26bc197
treecb0ffc7313237f00ef6b1c5581199738bb5edf5b
parent7f0065e1b15cd03efd22be227ad0129f872599c5
Always auto center on 'scratchpad show' if window hasn't been repositioned by the user

This change ensures a scratchpad window is still centered on the screen
if it has first been shown on another screen of a different
resolution. Moving or resizing the scratchpad manually disables this
behavior.
include/data.h
src/commands.c
src/floating.c
src/scratchpad.c
testcases/t/185-scratchpad.t