]> code.delx.au - gnu-emacs/commitdiff
In Elisp manual explain how to override window manager positioning (Bug#20552)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 19 May 2015 09:35:17 +0000 (11:35 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 19 May 2015 09:35:17 +0000 (11:35 +0200)
* doc/lispref/frames.texi (Position Parameters): Give example of
how to override a window manager positioning decision.

doc/lispref/frames.texi

index c0d17f0ca21abe9290bad36a72523da1e16b7fc3..8cadf791a124061f479c22d9262aa639bda20925 100644 (file)
@@ -659,6 +659,16 @@ Some window managers ignore program-specified positions.  If you want to
 be sure the position you specify is not ignored, specify a
 non-@code{nil} value for the @code{user-position} parameter as well.
 
+If the window manager refuses to align a frame at the left or top screen
+edge, combining position notation and @code{user-position} as in
+
+@example
+(modify-frame-parameters
+  '((user-position . t) (left . (+ -4))))
+@end example
+
+may help to override that.
+
 @vindex top, a frame parameter
 @item top
 The screen position of the top (or bottom) edge, in pixels, with respect