all repos — fluxbox @ 14b781929eee82703fb01e91e2c7e8a63dd08c7b

custom fork of the fluxbox windowmanager

fix 1052095, windowmenu doesnt close when tabs are changed (closed,new attached or dragged around)
akir akir
commit

14b781929eee82703fb01e91e2c7e8a63dd08c7b

parent

46d4d6bf6d47fae7f77c0c9d8480e152b31609eb

1 files changed, 7 insertions(+), 1 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.304 2004/10/21 10:38:25 akir Exp $ +// $Id: Window.cc,v 1.305 2004/10/28 19:13:30 akir Exp $ #include "Window.hh"

@@ -622,6 +622,8 @@ //!! TODO: check for isGroupable in client

if (client.m_win == this) return; + menu().hide(); + // reparent client win to this frame frame().setClientWindow(client); FbTk::EventManager &evm = *FbTk::EventManager::instance();

@@ -813,6 +815,8 @@ if (next_client != 0)

setCurrentClient(*next_client, false); } + menu().hide(); + m_clientlist.remove(&client); if (m_client == &client) {

@@ -2662,6 +2666,8 @@ parent().drawRectangle(screen().rootTheme().opGC(),

m_last_move_x, m_last_move_y, active_button.width(), active_button.height()); + + menu().hide(); } else { // we already grabed and started to drag'n'drop tab // so we update drag'n'drop-rectangle