Closed felixfung closed 1 year ago
In https://github.com/dreamcat4/skippy-xd/commit/65b8e854c32d168e410c12fa5a1ae9c2b871b862, we set mw->clientwin_focus_on_cancel within if(ps->o.focus_initial && iter). If skippy is evoked with --expose or --paging, ps->o.focus_inital is not set, and mw->clientwin_focus_on_cancel is not set.
mw->clientwin_focus_on_cancel
if(ps->o.focus_initial && iter)
--expose
--paging
ps->o.focus_inital
Here we set the variable before the if guard.
@dreamcat4 can you please review? Also in the future when you make changes, you can also create PRs, then I can help take a look :)
Thank you for that. Indeed is a better code. (and save of another bug). Was reviewed on code-bases only but seems fine. All looks great, merged.
In https://github.com/dreamcat4/skippy-xd/commit/65b8e854c32d168e410c12fa5a1ae9c2b871b862, we set
mw->clientwin_focus_on_cancel
withinif(ps->o.focus_initial && iter)
. If skippy is evoked with--expose
or--paging
,ps->o.focus_inital
is not set, andmw->clientwin_focus_on_cancel
is not set.Here we set the variable before the if guard.
@dreamcat4 can you please review? Also in the future when you make changes, you can also create PRs, then I can help take a look :)