Mikhael Goikhman wrote:
> 
> On 19 Aug 2002 17:29:26 -0400, Sergey Babkin wrote:
> >
> > Mikhael Goikhman wrote:
> > >
> > > In 2.5.x try:
> > >
> > >   EWMHBaseStrut 0 0 0 50
> >
> > Thanks, that should do it.

I've tried it with Aug.19 snapshot and it does not work. Yes, I've checked
that ewmh is enabled in the makefile.
 
> It also makes Maximize work as expected, not just placement.

Maximize is not an issue for me: for fvwm1 I've defined a function to
do "Maximize 95 95".
 
A separate issue: something wrong seems to be going on with the focus
on the nested clients (such as a parent Tcl/Tk program providing a frame
with option -container and a child Tcl/Tk program running within this
frame with option -use). When the mouse pointer gets moved into the parent
window and then out of it, the child loses its focus. Since I use
the mode ClickToFocus, that should not happen (and indeed did not happen
with fvwm1 nor with CDE WM). This bug occurs both in the latest snapshot
and in 2.4.8.

Here is a small example of a Tcl script for demonstration:

-------------------------------

#!/usr/local/bin/wish8.0
#
# test of a client swallowed by another client

puts "swallow $argv"
if {![string compare [lindex $argv 0] {-child}]} {
    label .l -text "internal" -bg white -fg black
    pack .l
    bind .l <FocusIn> ".l config -bg yellow"
    bind .l <FocusOut> ".l config -bg white"
    focus .l
} else {
    frame .f -bd 10 -bg blue -relief sunken
    frame .f.f -container 1
    pack .f.f .f
    exec $argv0 -use [winfo id .f.f] -child &
    bind .f <FocusIn> ".f config -bg red"
    bind .f <FocusOut> ".f config -bg blue"
    focus .f.f
}
-------------------------------

(you may need to edit the interpreter path according to where you have
wish on your system). It contains two window one in another. The outer
(frame) window is blue when it does not have focus and red when it
has focus. The inner window is white when it does not have focus and
yellow when it does. The outer window is hardwired to pass the
focus to the inner window whenever it receives the focus.
Normally the only possible color combinations should be "red-yellow" 
and "blue-white" (well, except after the initial start before the focus 
gets switched for the first time - it's an independent Tk issue). However 
with fvwm2 many more strange combinations happen.

Thank you for your help!

-SB
--
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