Date: Sat, 23 Jun 2012 09:43:57 -0400 From: Robert Huff <roberthuff@rcn.com> To: x11@freebsd.org Subject: problem switching focus between windows Message-ID: <20453.51229.945267.408562@jerusalem.litteratus.org>
next in thread | raw e-mail | index | archive | help
I have a system running:
FreeBSD 10.0-CURRENT #0: Sun Mar 11 08:20:02 EDT 2012 amd64
with xorg-7.5.1. It uses fvwm-2.6.5 and xterm-279.
(xorf.conf is appended.)
When I start X, everything is fine - focus follows the cursor.
However, after somewhere between a few hours and a few
days. this is no longer true. Focus stays with the last window in
which there was mouse or keyboard activity.
For some windows - e.g. all major browsers, or xemacs - it is
possible to release focus by right clicking twice. This does not
work for xterm; the only fix is to exit the window.
Restarting the apps does not put things back to normal.
Neither does resatrting X, or dbus, or hal, or sysmouse. Restarting
the system does work ... but has various mild down-sides.
Any ideas? I'll settle for any solution that doesn't involve
re-booting.
Respectfully,
Robert Huff
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/ae_fonts1"
FontPath "/usr/local/lib/X11/fonts/ae_fonts_mono"
FontPath "/usr/local/lib/X11/fonts/cyrillic"
FontPath "/usr/local/lib/X11/fonts/misc"
FontPath "/usr/local/lib/X11/fonts/TrueType"
FontPath "/usr/local/lib/X11/fonts/encodings"
FontPath "/usr/local/lib/X11/fonts/nucleus"
FontPath "/usr/local/lib/X11/fonts/Easytone"
FontPath "/usr/local/lib/X11/fonts/bitstream-vera"
FontPath "/usr/local/lib/X11/fonts/fonts-indic"
FontPath "/usr/local/lib/X11/fonts/scifi"
FontPath "/usr/local/lib/X11/fonts/URW"
FontPath "/usr/local/lib/X11/fonts/code2000"
FontPath "/usr/local/lib/X11/fonts/code2001"
FontPath "/usr/local/lib/X11/fonts/indic-ttf"
FontPath "/usr/local/lib/X11/fonts/urwfonts-ttf"
FontPath "/usr/local/lib/X11/fonts/Speedo"
FontPath "/usr/local/lib/X11/fonts/Windows"
FontPath "/usr/local/lib/X11/fonts/local"
FontPath "/usr/local/lib/X11/fonts/util"
FontPath "/usr/local/lib/X11/fonts/Liberation"
FontPath "/usr/local/lib/X11/fonts/LinLibertineG"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XKbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 430 270 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL E207WFP"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Modeline "1680x1050" 147.14 1680 1972 2156 2248 1050 1051 1054 1087
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon HD 3300 Graphics"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# Option "NoHal" # [<bool>]
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# EndSubSection
SubSection "Display"
Depth 24
# Modes "1024x768@88Hz(VESA)" "800x600" "640x480"
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 1024 768
EndSubSection
EndSection
Section "ServerFlags"
Option "DontZap" "false"
Option "DontZoom" "true"
Option "AllowMouseOpenFail" "true"
# as of r7.4, activating this causes X to look pay attention to
# mouse and keyboard device info
# per e-mail from rnoland@FreeBSD.org
# Option "AllowEmptyInput" "on"
# Option "AutoAddDevices" "on"
Option "AllowEmptyInput" "off"
Option "AutoAddDevices" "off"
# XFree86 4.[34].x - Add "DontVTSwitch" to be false (for
# console switching).
# Option "DontVTSwitch" "false"
Option "HandleSpecialKeys" "always"
# Xorg 6.8.(2|99.903) - Add "XkbDisable" to be true (for
# console switching).
# NOTE: this causes the 'm' to only register every on every
# second stroke
# FIXED as of Xorg 7.4 ?
# Option "XkbDisable" "true"
# added to support WINE per
# http://forums.fedoraforum.org/showthread.php?t=178877
Option "AIGLX" "off"
EndSection
Section "Extensions"
# added to support WINE per
# http://forums.fedoraforum.org/showthread.php?t=178877
# Option "Composite" "off"
EndSection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20453.51229.945267.408562>
