Skip to content

Commit

Permalink
Auto focus transients from add_window event function
Browse files Browse the repository at this point in the history
  • Loading branch information
NsCDE committed Nov 19, 2020
1 parent c6b8352 commit 8127348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NsCDE/config/NsCDE-Functions.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ AddToFunc f_DeskLastPage
DestroyFunc f_SysAddWindowEvent
AddToFunc f_SysAddWindowEvent
+ I Next (GlobalPager,!Transient) f_CenterWindow
+ I WindowId $0 (Transient, CirculateHit) Focus
+ I Any (CurrentPage,$[w.resource],$[w.class],State 2) Break
+ I WindowId $0 (!FixedSize,!FixedPosition,!State 2,!Transient) f_GetWinGeometry ResizeMove
+ I WindowId $0 (FixedSize) f_GetWinGeometry f_SafeFvwmCmd Move screen c | cut -d\' \' -f 3,4
Expand Down

0 comments on commit 8127348

Please sign in to comment.