small bugfix in keybindings
This commit is contained in:
parent
bf4b327475
commit
34f9c5e446
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
Changes for 0.1.6:
|
Changes for 0.1.6:
|
||||||
*01/01/11:
|
*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 so it compiles with cygwin (Thanks Eric Nicolas)
|
||||||
* Fixed bug in maximize over slit option
|
* Fixed bug in maximize over slit option
|
||||||
* Updated documents (Thanks Rando Christensen)
|
* Updated documents (Thanks Rando Christensen)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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
|
// stupid macros needed to access some functions in version 2 of the GNU C
|
||||||
// library
|
// library
|
||||||
|
@ -845,6 +845,8 @@ void Fluxbox::process_event(XEvent *e) {
|
||||||
break;
|
break;
|
||||||
*/
|
*/
|
||||||
case Keys::KILLWINDOW: //kill the current window
|
case Keys::KILLWINDOW: //kill the current window
|
||||||
|
XKillClient(screen->getBaseDisplay()->getXDisplay(),
|
||||||
|
focused_window->getClientWindow());
|
||||||
break;
|
break;
|
||||||
case Keys::NEXTWINDOW: //activate next window
|
case Keys::NEXTWINDOW: //activate next window
|
||||||
screen->nextFocus();
|
screen->nextFocus();
|
||||||
|
@ -1036,6 +1038,8 @@ void Fluxbox::doWindowAction(Keys::KeyAction action) {
|
||||||
focused_window->close();
|
focused_window->close();
|
||||||
break;
|
break;
|
||||||
case Keys::SHADE:
|
case Keys::SHADE:
|
||||||
|
if (focused_window->hasTab())
|
||||||
|
focused_window->getTab()->shade();
|
||||||
focused_window->shade();
|
focused_window->shade();
|
||||||
break;
|
break;
|
||||||
case Keys::MAXIMIZE:
|
case Keys::MAXIMIZE:
|
||||||
|
|
Loading…
Reference in a new issue