<<
> < > Hmmm....on the 20020817 snap, i'm finding that on opening new windows, i'm
> < > getting blocked from focusing windows. No matter what i click into, it 
> wont
> < > take focus.
>
> Turns out i need a <Modifier>click to get focus after a map.
> Using clicktofocus mode.

Traced this to focus.c __check_allow_focus

xview appears to want to refuse focus in order to get focus. (?)
xview window often has sf == NULL.

Hence __check_allow_focus returns True and xview window doesnt get focus.


I added

if (sf == NULL) return False;  // xview may have this condition
>>

Well, this isnt quite right.
tk also has nulls.

But this seems to be better...

Fix the window does not want focus line in __check_allow_focus to look like
this...

        if (!FP_IS_LENIENT(FW_FOCUS_POLICY(fw)) && 
!focus_does_accept_input_focus(fw) && (sf == NULL || sf->Desk == 
Scr.CurrentDesk))

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to