From: <dom...@us...> - 2013-05-10 15:58:11
|
Revision: 382 http://sourceforge.net/p/fvwm-crystal/code/382 Author: dominique_libre Date: 2013-05-10 15:58:04 +0000 (Fri, 10 May 2013) Log Message: ----------- functions/Fullscreen: don't interfere with MPlayer own fullscreen mode; cleanup; increased schedule time to FullscreenRecover at restart to 1s. Modified Paths: -------------- ChangeLog fvwm/components/functions/Fullscreen Modified: ChangeLog =================================================================== --- ChangeLog 2013-05-08 11:22:52 UTC (rev 381) +++ ChangeLog 2013-05-10 15:58:04 UTC (rev 382) @@ -1,5 +1,9 @@ ChangeLog for FVWM-Crystal +Vendredi 10 Mai 2013 Dominique Michel + functions/Fullscreen: don't interfere with MPlayer own fullscreen mode; + cleanup; increased schedule time to FullscreenRecover at restart to 1s. + Mardi 7 Mai 2013 Dominique Michel desktop/FVWM-Crystal_Preferences: load the desktop geometry preference doc/FAQ: added 3.8 about keyboard modifiers; add 3.9 about Modified: fvwm/components/functions/Fullscreen =================================================================== --- fvwm/components/functions/Fullscreen 2013-05-08 11:22:52 UTC (rev 381) +++ fvwm/components/functions/Fullscreen 2013-05-10 15:58:04 UTC (rev 382) @@ -30,11 +30,8 @@ # directly, use 'Disappear' function instead. # # Know bugs, limitations: -# - after a recipe change, if the new desktop geometry is not the same, some -# window(s) can be lost. Is it needed to add a logic fot that? -# - some terminals does not scale corectly in full-screen. As example, Terminator -# scale correctly, Gnome Terminal, ATerm, Xterm and MRxwt does not, URxwt does not scale -# correctly the first time it is put in full screen, but it does scale OK afterward. +# - some terminals and gvim does not scale corectly in full-screen. This is because +# they use characters instead of pixels to adjust their width. # If you know how to fix this, please send me a mail: # <dom...@us...> @@ -44,8 +41,8 @@ # State 19 = FS (fullscreen), State 20 = visible DestroyFunc Fullscreen AddToFunc Fullscreen -+ I ThisWindow (State 19, !FvwmButtons) Fullscreen-Stop -+ I TestRc (NoMatch) ThisWindow (!State 19, !FvwmButtons) Fullscreen-Start ++ I ThisWindow (State 19, !FvwmButtons, !MPlayer) Fullscreen-Stop ++ I TestRc (NoMatch) ThisWindow (!State 19, !FvwmButtons, !MPlayer) Fullscreen-Start # fullscreen {{{2 DestroyFunc Fullscreen-Start @@ -132,11 +129,10 @@ # wrapper {{{2 DestroyFunc RecoverFullscreen AddToFunc RecoverFullscreen -PipeRead 'for i in $[infostore.TmpDirectory]/fullscreen.19.*; do wid=`basename "$i" | awk --field-separator . \'{print $$3}\'`; echo "+ I WindowId ${wid} ThisWindow Fullscreen-Recover"; done' -PipeRead 'for i in $[infostore.TmpDirectory]/fullscreen.20.*; do wid=`basename "$i" | awk --field-separator . \'{print $$3}\'`; echo "+ I WindowId ${wid} ThisWindow Disappear-Recover"; done' -#+ I All Test (F $[infostore.TmpDirectory]/fullscreen.20.$[w.id].$[page.ny].$[page.ny].tmp) WindowId $[w.id] Disappear-Recover +PipeRead 'for i in $[infostore.TmpDirectory]/fullscreen.19.*; do wid=`basename "$i" | awk --field-separator . \'{print $$3}\'`; echo "+ I WindowId ${wid} Fullscreen-Recover"; done' +PipeRead "for i in $[infostore.TmpDirectory]/fullscreen.20.*; do wid=`basename $i | awk --field-separator . '{print $$3}'`; echo \"+ I WindowId ${wid} Disappear-Recover\"; done" -AddToFunc StartFunction I Schedule 500 RecoverFullscreen +AddToFunc StartFunction I Schedule 1000 RecoverFullscreen AddToFunc ExitFunction I Test (!ToRestart) Exec rm -f $[infostore.TmpDirectory]/fullscreen.19.* AddToFunc ExitFunction I Test (!ToRestart) Exec rm -f $[infostore.TmpDirectory]/fullscreen.20.* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |