aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-01-11 22:48:45 (GMT)
committerpekdon <pekdon>2002-01-11 22:48:45 (GMT)
commit34f9c5e44685a56baf66b38dda30bc062548cc66 (patch)
tree54d0641473e2d7ed4cc994c6700818f66fd53ea1
parentbf4b3274756b6de5fd6036689dc54da71987513d (diff)
downloadfluxbox-34f9c5e44685a56baf66b38dda30bc062548cc66.zip
fluxbox-34f9c5e44685a56baf66b38dda30bc062548cc66.tar.bz2
small bugfix in keybindings
-rw-r--r--ChangeLog2
-rw-r--r--src/fluxbox.cc6
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cc6529..a937d8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1Changes for 0.1.6: 1Changes for 0.1.6:
2*01/01/11: 2*01/01/11:
3 * Fixed small bug in keybindings code, now killwindow and shade will
4 work as supposed with tabs. (Claes Nästén)
3 * Fixed so it compiles with cygwin (Thanks Eric Nicolas) 5 * Fixed so it compiles with cygwin (Thanks Eric Nicolas)
4 * Fixed bug in maximize over slit option 6 * Fixed bug in maximize over slit option
5 * Updated documents (Thanks Rando Christensen) 7 * Updated documents (Thanks Rando Christensen)
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: