Hi all,
I recently upgraded to fvwm 2.5.26. Since then I have been observing
that gnuplot x11 windows steal focus. for instance, I type a gnuplot
plotting command in an xterm then window showing the plot is getting
the focus even if the mouse is not in this window. In order to put the
focus back on my xterm I have to move the mouse out of the xterm and
back in. Sometimes, I feel very unpleasant with this behaviour.
Further details, I use:
ColormapFocus FollowsFocus
Style * GrabFocusOff
Style * MouseFocus
Style * SloppyFocus
#
I tried
Style Gnuplot FPClickToFocus, !FPFocusByProgram
which doesn't change the above behaviour
I start gnuplot like gnuplot -noraise.
Finally, xprop tells me:
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_WIN_AREA(CARDINAL) = 6, 0
_WIN_WORKSPACE(CARDINAL) = 0
_WIN_LAYER(CARDINAL) = 4
_WIN_STATE(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 20, 1
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 1, 1, 20, 1
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP,
_NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ,
_NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE,
_NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = 0x47, 0x6e, 0x75, 0x70, 0x6c, 0x6f,
0x74, 0x20, 0x28, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x20, 0x69, 0x64, 0x20,
0x3a, 0x20, 0x30, 0x29
_NET_WM_VISIBLE_NAME(UTF8_STRING) = 0x47, 0x6e, 0x75, 0x70, 0x6c, 0x6f, 0x74,
0x20, 0x28, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x20, 0x69, 0x64, 0x20, 0x3a,
0x20, 0x30, 0x29
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x420008b
bitmap id # of mask for icon: 0x420008c
window id # of group leader: 0x4200001
_NET_WM_ICON(CARDINAL) = 64, 64,
[!!!numbers deleted, otherwise the mail is getting to long!!!]
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 69206153
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x4200088
WM_CLIENT_LEADER(WINDOW): window id # 0x4200001
_NET_WM_PID(CARDINAL) = 26516
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "mag33"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
program specified minimum size: 100 by 100
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING,
_NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "<unknown>", "<unknown>"
WM_ICON_NAME(STRING) = "Gnuplot (window id : 0)"
_NET_WM_ICON_NAME(UTF8_STRING) = 0x47, 0x6e, 0x75, 0x70, 0x6c, 0x6f,
0x74, 0x20, 0x28, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x20, 0x69,
0x64, 0x20, 0x3a, 0x20, 0x30, 0x29
WM_NAME(STRING) = "Gnuplot (window id : 0)"
_NET_WM_NAME(UTF8_STRING) = 0x47, 0x6e, 0x75, 0x70, 0x6c, 0x6f, 0x74,
0x20, 0x28, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x20, 0x69, 0x64,
0x20, 0x3a, 0x20, 0x30, 0x29
Any help would be very much appreciated.
ingo