small bugfix in keybindings
pekdon pekdon
2 files changed,
7 insertions(+),
1 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,5 +1,7 @@
Changes for 0.1.6: *01/01/11: + * Fixed small bug in keybindings code, now killwindow and shade will + work as supposed with tabs. (Claes Nästén) * Fixed so it compiles with cygwin (Thanks Eric Nicolas) * Fixed bug in maximize over slit option * Updated documents (Thanks Rando Christensen)
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.19 2002/01/11 09:17:37 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.20 2002/01/11 22:48:45 pekdon Exp $ // stupid macros needed to access some functions in version 2 of the GNU C // library@@ -845,6 +845,8 @@ case Keys::grabRightWorkspace:
break; */ case Keys::KILLWINDOW: //kill the current window + XKillClient(screen->getBaseDisplay()->getXDisplay(), + focused_window->getClientWindow()); break; case Keys::NEXTWINDOW: //activate next window screen->nextFocus();@@ -1036,6 +1038,8 @@ case Keys::CLOSE:
focused_window->close(); break; case Keys::SHADE: + if (focused_window->hasTab()) + focused_window->getTab()->shade(); focused_window->shade(); break; case Keys::MAXIMIZE: