[openbox] Firefox add-on popups

Piscium groknok at gmail.com
Thu Mar 31 19:29:52 EDT 2016


On 31 March 2016 at 02:58, Jim Rees <rees at umich.edu> wrote:
> So it turns out my Firefox problem is openbox related.
>
> The popup window is what I think X calls a transient; it has no decoration,
> and while it is displayed it has the focus, and the decoration on the main
> firefox window grays out indicating it has lost focus. If you click outside
> the popup it goes away. I can't run anything like xwininfo while it's popped
> up.
>
> I tracked the problem to the followMouse setting. I normally have this
> turned on. If I turn it off, the problem goes away, and the popup appears
> normally.

I have been using FollowMouse for years and never had a problem like
you describe. Below is an excerpt of my rc.xml.

<focus>
    <focusNew>yes</focusNew>
    <!-- always try to focus new windows when they appear. other rules do
       apply -->
    <followMouse>yes</followMouse>
    <!-- move focus to a window when you move the mouse into it -->
    <focusLast>no</focusLast>
    <!-- focus the last used window when changing desktops, instead of the one
       under the mouse pointer. when followMouse is enabled -->
    <underMouse>yes</underMouse>
    <!-- move focus under the mouse, even when the mouse is not moving -->
    <focusDelay>600</focusDelay>
    <!-- when followMouse is enabled, the mouse must be inside the window for
       this many milliseconds (1000 = 1 sec) before moving focus to it -->
    <raiseOnFocus>yes</raiseOnFocus>
    <!-- when followMouse is enabled, and a window is given focus by moving the
       mouse into it, also raise the window -->
</focus>

<placement>
  <policy>Smart</policy>
  <!-- 'Smart' or 'UnderMouse' -->
  <monitor>Primary</monitor>
  <!-- with Smart placement on a multi-monitor system, try to place new windows
       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
       the active window is, 'Primary' - only on the primary monitor -->
  <primaryMonitor>1</primaryMonitor>
  <!-- The monitor where Openbox should place popup dialogs such as the
       focus cycling popup, or the desktop switch popup.  It can be an index
       from 1, specifying a particular monitor.  Or it can be one of the
       following: 'Mouse' - where the mouse is, or
                  'Active' - where the active window is -->
</placement>


More information about the openbox mailing list