all repos — fluxbox @ 30d1d5a95187b238928311a580de38d99bcdfc45

custom fork of the fluxbox windowmanager

fix updating of gnome layer atom
rathnor rathnor
commit

30d1d5a95187b238928311a580de38d99bcdfc45

parent

a7a178589992eeece8939dd179c0d5f0032002c4

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

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

@@ -19,7 +19,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: Gnome.cc,v 1.18 2003/04/25 11:15:01 fluxgen Exp $ +// $Id: Gnome.cc,v 1.19 2003/05/08 02:50:38 rathnor Exp $ #include "Gnome.hh"

@@ -249,7 +249,8 @@ }

void Gnome::updateLayer(FluxboxWindow &win) { //TODO - map from flux layers to gnome ones - int layernum = win.getLayerNum(); + // our layers are in the opposite direction to GNOME + int layernum = Fluxbox::instance()->getDesktopLayer() - win.getLayerNum(); XChangeProperty(FbTk::App::instance()->display(), win.getClientWindow(), m_gnome_wm_win_layer, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&layernum, 1);