all repos — fluxbox @ c8eeaea88ff11a30110de18a1ec32a31942bbd38

custom fork of the fluxbox windowmanager

fixed bug [ 552723 ] removing decorations while shaded in toggleDecor
fluxgen fluxgen
commit

c8eeaea88ff11a30110de18a1ec32a31942bbd38

parent

a10c34918c4b439b803f67304215b22d7ca649dd

1 files changed, 5 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.49 2002/05/07 13:31:11 fluxgen Exp $ +// $Id: Window.cc,v 1.50 2002/05/07 13:50:34 fluxgen Exp $ #include "Window.hh"

@@ -3510,6 +3510,10 @@ }

void FluxboxWindow::toggleDecoration() { static bool decor = false; + //don't toggle decor if the window is shaded + if (isShaded()) + return; + if (!decor) { setDecoration(DECOR_NONE); decor = true;