obconf fails to set focus follows mouse

Bug #1926897 reported by A Law
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

Raspbian buster release 10 running on a Raspberry Pi B.

Since I am only used to the "focus following mouse", and find having to click to enter keystrokes
into the window with my attention counter intuitive & rather dangerous (typing into the wrong program),I was disappointed that lxinput offers no option to correct the focus.

Thus I tried obconf. Great: the option was there. But while one aspect of the focus worked,
most of the mouse and keyboard entry was broken. Mouse over window raised the window, but the *keyboard* focus was still in the last window. Even worse, the mouse could no longer drag windows nor recognise clicks: it appeared that mouse events within windows were no longer recognised. Only in the panel did the mouse work normally.

I then tried editing ~/.config/openbox/lxde-pi-rc.xml directly, but I could not find anything that
worked, so perhaps this is a bug in openbox?

Revision history for this message
A Law (koopersloss) wrote :

Update. I said that editing lxde-pi-rc.xml did not work. However, it did start working after all.

This worked:

---------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<openbox_config>

 <theme><font place="ActiveWindow"><name>PibotoLt</name><size>12</size><weight>Normal</weight><slant>Normal</slant></font><font place="InactiveWindow"><name>PibotoLt</name><size>12</size><weight>Normal</weight><slant>Normal</slant></font><invHandleWidth>10</invHandleWidth><titleColor>#87919b</titleColor><textColor>#f0f0f0</textColor>
 </theme>

 <focus>
    <focusNew>yes</focusNew>
    <followMouse>yes</followMouse>
    <focusDelay>0</focusDelay>
    <raiseOnFocus>no</raiseOnFocus>
    <focusLast>no</focusLast>
    <underMouse>no</underMouse>
  </focus>

</openbox_config>

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

obconf remains broken. I have not tried an upgrade to testing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.