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.
This commit is contained in:
committed by
Michael Stapelberg
parent
7f0065e1b1
commit
49979c9d15
@ -569,6 +569,8 @@ struct Con {
|
||||
/** callbacks */
|
||||
void(*on_remove_child)(Con *);
|
||||
|
||||
/** not a scratchpad window, auto centered scratchpad window, or
|
||||
* user positioned scratchpad window. */
|
||||
enum {
|
||||
SCRATCHPAD_NONE = 0,
|
||||
SCRATCHPAD_FRESH = 1,
|
||||
|
Reference in New Issue
Block a user