File: Window-SetPlacementPolicy

package info (click to toggle)
fvwm-crystal 3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 21,700 kB
  • ctags: 1,494
  • sloc: sh: 3,265; cs: 1,335; python: 875; makefile: 214
file content (12 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
# This function is used by the "Exec-Accelerator" functions. If there is no
# "normal" window (any window except Fvwm*, gkrellm, trayer or iconified),
# next spawned window will be placed at the center of the visible screen. If
# there is one, it will be spawned using the MinOverlapPercentPlacement
# penalities.

DestroyFunc Window-SetPlacementPolicy
AddToFunc Window-SetPlacementPolicy
# + I Style * CenterPlacement
+ I Any (CurrentPage, !Fvwm*, !Gkrellm, !trayer, !stalonetray, !gdeskcal, !gdesklets, !Iconic) Style * MinOverlapPercentPlacement

# vim:ft=fvwm