… | |
… | |
26 | * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> |
26 | * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> |
27 | * Copyright (c) 2001 Marius Gedminas |
27 | * Copyright (c) 2001 Marius Gedminas |
28 | * - Ctrl/Mod4+Tab works like Meta+Tab (options) |
28 | * - Ctrl/Mod4+Tab works like Meta+Tab (options) |
29 | * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> |
29 | * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> |
30 | * Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> |
30 | * Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> |
31 | * Copyright (c) 2007 Emanuele Giaquinta <e.giaquinta@glauco.it> |
31 | * Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it> |
32 | * |
32 | * |
33 | * This program is free software; you can redistribute it and/or modify |
33 | * This program is free software; you can redistribute it and/or modify |
34 | * it under the terms of the GNU General Public License as published by |
34 | * it under the terms of the GNU General Public License as published by |
35 | * the Free Software Foundation; either version 3 of the License, or |
35 | * the Free Software Foundation; either version 3 of the License, or |
36 | * (at your option) any later version. |
36 | * (at your option) any later version. |
… | |
… | |
1787 | } |
1787 | } |
1788 | #endif |
1788 | #endif |
1789 | #if ENABLE_FRILLS |
1789 | #if ENABLE_FRILLS |
1790 | if (option (Opt_urgentOnBell)) |
1790 | if (option (Opt_urgentOnBell)) |
1791 | set_urgency (0); |
1791 | set_urgency (0); |
|
|
1792 | |
|
|
1793 | if (priv_modes & PrivMode_FocusEvent) |
|
|
1794 | tt_printf ("\x1b[I"); |
1792 | #endif |
1795 | #endif |
1793 | |
1796 | |
1794 | HOOK_INVOKE ((this, HOOK_FOCUS_IN, DT_END)); |
1797 | HOOK_INVOKE ((this, HOOK_FOCUS_IN, DT_END)); |
1795 | } |
1798 | } |
1796 | } |
1799 | } |
… | |
… | |
1804 | want_refresh = 1; |
1807 | want_refresh = 1; |
1805 | |
1808 | |
1806 | #if ENABLE_FRILLS |
1809 | #if ENABLE_FRILLS |
1807 | if (option (Opt_urgentOnBell)) |
1810 | if (option (Opt_urgentOnBell)) |
1808 | set_urgency (0); |
1811 | set_urgency (0); |
|
|
1812 | |
|
|
1813 | if (priv_modes & PrivMode_FocusEvent) |
|
|
1814 | tt_printf ("\x1b[O"); |
1809 | #endif |
1815 | #endif |
1810 | #if ENABLE_FRILLS || ISO_14755 |
1816 | #if ENABLE_FRILLS || ISO_14755 |
1811 | if (iso14755buf) |
1817 | if (iso14755buf) |
1812 | { |
1818 | { |
1813 | iso14755buf = 0; |
1819 | iso14755buf = 0; |
… | |
… | |
3707 | #endif |
3713 | #endif |
3708 | { 1000, PrivMode_MouseX11 }, |
3714 | { 1000, PrivMode_MouseX11 }, |
3709 | { 1002, PrivMode_MouseBtnEvent }, |
3715 | { 1002, PrivMode_MouseBtnEvent }, |
3710 | { 1003, PrivMode_MouseAnyEvent }, |
3716 | { 1003, PrivMode_MouseAnyEvent }, |
3711 | #if ENABLE_FRILLS |
3717 | #if ENABLE_FRILLS |
|
|
3718 | { 1004, PrivMode_FocusEvent }, |
3712 | { 1005, PrivMode_ExtModeMouse }, |
3719 | { 1005, PrivMode_ExtModeMouse }, |
3713 | #endif |
3720 | #endif |
3714 | { 1010, PrivMode_TtyOutputInh }, // rxvt extension |
3721 | { 1010, PrivMode_TtyOutputInh }, // rxvt extension |
3715 | { 1011, PrivMode_Keypress }, // rxvt extension |
3722 | { 1011, PrivMode_Keypress }, // rxvt extension |
3716 | #if ENABLE_FRILLS |
3723 | #if ENABLE_FRILLS |