all repos — fluxbox @ 93d8310c0c51fe1edcdfa5240f724ab6306ce92a

custom fork of the fluxbox windowmanager

wrong client was raised when attaching an unfocused window to the focused window
markt markt
commit

93d8310c0c51fe1edcdfa5240f724ab6306ce92a

parent

07ea9ec4b4a2c1252c64dc34438c4bdeb5e3331b

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: *07/02/06: + * Wrong window was being raised when attaching an unfocused window (Mark) + Window.cc * Make selecting `close' from the workspace menu close the correct client, rather than the active tab in the window -- selecting `close' from right clicking on a tab is still wrong, as there are complications (Mark)
M src/Window.ccsrc/Window.cc

@@ -676,6 +676,10 @@ setCurrentClient(client);

FocusControl::setFocusedWindow(&client); } else if (focused_win) setCurrentClient(*focused_win, false); + else + // reparenting puts the new client on top, but the old client is keeping + // the focus, so we raise it + m_client->raise(); frame().reconfigure(); }