Fix Fvwm maximize window problem with stalonetray.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 09 Jan 2014 19:05:36 +0200
changeset 683 d95d6ab31a4a
parent 682 fee328355849
child 684 95b15ebd8e1e
Fix Fvwm maximize window problem with stalonetray. Stalonetray try to avoid covering of tray window by maximized windows.
.fvwm/config
.stalonetrayrc
Makefile
--- a/.fvwm/config	Thu Jan 09 18:15:28 2014 +0200
+++ b/.fvwm/config	Thu Jan 09 19:05:36 2014 +0200
@@ -93,7 +93,7 @@
 AddToFunc InitFunction
 # Right offset: 80 from FvwmPager + 2*6 from border = 92.
 + I Exec  exec xclock -digit -update 1 -strftime '%m-%d %T %a' -padding 2 -geometry 130x16-92+0 -face Monospace-9 -bg gray
-+ I Exec  exec stalonetray --geometry 1x16-$((130+92+24))+0
++ I Exec  exec stalonetray --window-strut none --grow-gravity S --icon-gravity N --geometry 1x16-$((130+92+24))+0 
 + I Exec  exec emacs --name emacs-main
 + I Exec  exec m4_XTERM_MC(`mc-main1')
 + I Exec  exec goldendict
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.stalonetrayrc	Thu Jan 09 19:05:36 2014 +0200
@@ -0,0 +1,2 @@
+window_strut none
+
--- a/Makefile	Thu Jan 09 18:15:28 2014 +0200
+++ b/Makefile	Thu Jan 09 19:05:36 2014 +0200
@@ -40,7 +40,7 @@
 # Project dirs/files.
 
 OVERRIDDEN_ITEMS := \
-    .fvwm .xxkbrc .xmodmaprc \
+    .fvwm .xxkbrc .xmodmaprc .stalonetrayrc \
     .inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc .dircolors \
     .env .bashrc .bash_completion .bash_completion.d .zshrc .vimrc .ssh \
     .pylintrc .pystartup .tclshrc .npmrc \