aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc6
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: