diff options
author | rathnor <rathnor> | 2003-06-08 14:32:28 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-08 14:32:28 (GMT) |
commit | 81e4fe8d44a3f0bd8c104127d7785badab6f2bc8 (patch) | |
tree | 9258d23bdc8e8c9197075b3635e69bfde7565d15 /src/fluxbox.cc | |
parent | 93b2f8921c70e2cf5f2f2c3cf79943de54b6709b (diff) | |
download | fluxbox-81e4fe8d44a3f0bd8c104127d7785badab6f2bc8.zip fluxbox-81e4fe8d44a3f0bd8c104127d7785badab6f2bc8.tar.bz2 |
add reconfigure and restart keys
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 9f5f1cc..7c834a6 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.152 2003/06/08 00:13:41 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.153 2003/06/08 14:32:28 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -1301,6 +1301,13 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) { | |||
1301 | FbCommands::ExecuteCmd cmd(m_key->getExecCommand(), mousescreen->screenNumber()); | 1301 | FbCommands::ExecuteCmd cmd(m_key->getExecCommand(), mousescreen->screenNumber()); |
1302 | cmd.execute(); | 1302 | cmd.execute(); |
1303 | } break; | 1303 | } break; |
1304 | case Keys::RECONFIGURE: | ||
1305 | reload_rc(); | ||
1306 | break; | ||
1307 | case Keys::RESTART: { | ||
1308 | FbCommands::RestartFluxboxCmd cmd(m_key->getExecCommand()); | ||
1309 | cmd.execute(); | ||
1310 | } break; | ||
1304 | case Keys::QUIT: | 1311 | case Keys::QUIT: |
1305 | shutdown(); | 1312 | shutdown(); |
1306 | break; | 1313 | break; |