all repos — fluxbox @ 68e0ef84d983744953293ccf68ffbde74c3c2781

custom fork of the fluxbox windowmanager

_NET_RESTACK_WINDOW
fluxgen fluxgen
commit

68e0ef84d983744953293ccf68ffbde74c3c2781

parent

5e598c460e3abcae691054fbe5483ee16a21cb39

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

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

@@ -29,10 +29,13 @@ #include "WinClient.hh"

#include "Workspace.hh" #include "Layer.hh" #include "WinClientUtil.hh" +#include "fluxbox.hh" #include "FbTk/App.hh" #include "FbTk/FbWindow.hh" #include "FbTk/I18n.hh" +#include "FbTk/XLayerItem.hh" +#include "FbTk/XLayer.hh" #include <iostream> #include <algorithm>

@@ -789,9 +792,10 @@ if (above_win == 0 || above_win->fbwindow() == 0 ||

above_win == winclient) // this would be very wrong :) return true; + FbTk::XLayerItem &below_item = winclient->fbwindow()->layerItem(); + FbTk::XLayerItem &above_item = above_win->fbwindow()->layerItem(); // this might break the transient_for layering - winclient->layerItem().stackBelowItem(&winclient->layerItem(), - &above_win->layerItem()); + below_item.getLayer().stackBelowItem(&below_item, &above_item); return true;