File: Window-SetPlacementPolicy

package info (click to toggle)
fvwm-crystal 3.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 19,748 kB
  • ctags: 793
  • sloc: sh: 2,815; cs: 880; python: 875; makefile: 212
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