diff options
author | pekdon <pekdon> | 2002-01-11 22:48:45 (GMT) |
---|---|---|
committer | pekdon <pekdon> | 2002-01-11 22:48:45 (GMT) |
commit | 34f9c5e44685a56baf66b38dda30bc062548cc66 (patch) | |
tree | 54d0641473e2d7ed4cc994c6700818f66fd53ea1 /src | |
parent | bf4b3274756b6de5fd6036689dc54da71987513d (diff) | |
download | fluxbox_lack-34f9c5e44685a56baf66b38dda30bc062548cc66.zip fluxbox_lack-34f9c5e44685a56baf66b38dda30bc062548cc66.tar.bz2 |
small bugfix in keybindings
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index fd3f2f0..2f8d3cb 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.19 2002/01/11 09:17:37 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.20 2002/01/11 22:48:45 pekdon Exp $ |
26 | 26 | ||
27 | // stupid macros needed to access some functions in version 2 of the GNU C | 27 | // stupid macros needed to access some functions in version 2 of the GNU C |
28 | // library | 28 | // library |
@@ -845,6 +845,8 @@ void Fluxbox::process_event(XEvent *e) { | |||
845 | break; | 845 | break; |
846 | */ | 846 | */ |
847 | case Keys::KILLWINDOW: //kill the current window | 847 | case Keys::KILLWINDOW: //kill the current window |
848 | XKillClient(screen->getBaseDisplay()->getXDisplay(), | ||
849 | focused_window->getClientWindow()); | ||
848 | break; | 850 | break; |
849 | case Keys::NEXTWINDOW: //activate next window | 851 | case Keys::NEXTWINDOW: //activate next window |
850 | screen->nextFocus(); | 852 | screen->nextFocus(); |
@@ -1036,6 +1038,8 @@ void Fluxbox::doWindowAction(Keys::KeyAction action) { | |||
1036 | focused_window->close(); | 1038 | focused_window->close(); |
1037 | break; | 1039 | break; |
1038 | case Keys::SHADE: | 1040 | case Keys::SHADE: |
1041 | if (focused_window->hasTab()) | ||
1042 | focused_window->getTab()->shade(); | ||
1039 | focused_window->shade(); | 1043 | focused_window->shade(); |
1040 | break; | 1044 | break; |
1041 | case Keys::MAXIMIZE: | 1045 | case Keys::MAXIMIZE: |