aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 14:23:54 (GMT)
committerfluxgen <fluxgen>2002-04-04 14:23:54 (GMT)
commit1a69dd6e0934207f344e9669f20371eebb8430a6 (patch)
tree84b66a59d4ac9b881ca2fa1fe6690287eadaea23
parent598cd8a7fd5ab42c95ced857757fc5bf4c1c5eef (diff)
downloadfluxbox-1a69dd6e0934207f344e9669f20371eebb8430a6.zip
fluxbox-1a69dd6e0934207f344e9669f20371eebb8430a6.tar.bz2
fixed ToggleDecor key action
-rw-r--r--src/fluxbox.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index aaeb466..c2f53e2 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.44 2002/04/04 11:28:19 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.45 2002/04/04 14:23:54 fluxgen Exp $
26 26
27//Use some GNU extensions 27//Use some GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -1112,7 +1112,7 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
1112 net.attrib = ce.data.l[1]; 1112 net.attrib = ce.data.l[1];
1113 net.workspace = ce.data.l[2]; 1113 net.workspace = ce.data.l[2];
1114 net.stack = ce.data.l[3]; 1114 net.stack = ce.data.l[3];
1115 net.decoration = static_cast<BaseDisplay::Decor>(ce.data.l[4]); 1115 net.decoration = static_cast<int>(ce.data.l[4]);
1116 win->changeBlackboxHints(&net); 1116 win->changeBlackboxHints(&net);
1117 } 1117 }
1118 } else { 1118 } else {
@@ -1422,8 +1422,10 @@ void Fluxbox::doWindowAction(Keys::KeyAction action, const int param) {
1422 if (t_alignment != Tab::PRIGHT) 1422 if (t_alignment != Tab::PRIGHT)
1423 focused_window->getTab()->setPosition(); 1423 focused_window->getTab()->setPosition();
1424 } 1424 }
1425 break; 1425 break;
1426 default: 1426 case Keys::TOGGLEDECOR:
1427 focused_window->toggleDecoration();
1428 default: //do nothing
1427 break; 1429 break;
1428 } 1430 }
1429 1431