all repos — fluxbox @ 1a69dd6e0934207f344e9669f20371eebb8430a6

custom fork of the fluxbox windowmanager

fixed ToggleDecor key action
fluxgen fluxgen
commit

1a69dd6e0934207f344e9669f20371eebb8430a6

parent

598cd8a7fd5ab42c95ced857757fc5bf4c1c5eef

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

jump to
M src/fluxbox.ccsrc/fluxbox.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: fluxbox.cc,v 1.44 2002/04/04 11:28:19 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.45 2002/04/04 14:23:54 fluxgen Exp $ //Use some GNU extensions #ifndef _GNU_SOURCE

@@ -1112,7 +1112,7 @@ net.flags = ce.data.l[0];

net.attrib = ce.data.l[1]; net.workspace = ce.data.l[2]; net.stack = ce.data.l[3]; - net.decoration = static_cast<BaseDisplay::Decor>(ce.data.l[4]); + net.decoration = static_cast<int>(ce.data.l[4]); win->changeBlackboxHints(&net); } } else {

@@ -1422,8 +1422,10 @@ focused_window->getTab()->calcIncrease();

if (t_alignment != Tab::PRIGHT) focused_window->getTab()->setPosition(); } - break; - default: + break; + case Keys::TOGGLEDECOR: + focused_window->toggleDecoration(); + default: //do nothing break; }