Hi,
I had this issue with shift-insert not working in st which annoyed me a
lot again while setting up a new box today, so I looked into it.
`kpress` first invokes `kmap` to handle custom keys which override
default behaviour. In `kmap` this condition
if(key[i].k == k (key[i].mask ==
I think my patch is better. There is no special case for 0 mask and state
and when we match for Ctrl and Shift it works only when they both are
pressed. With your patch it will work for Ctrl only or for Shift only.
Maybe it can be adopted for dwm so we would be able to remove this
CLEANMASK
On Mon, Aug 01, 2011 at 03:34:46PM +0400, anonymous wrote:
Maybe it can be adopted for dwm so we would be able to remove this
CLEANMASK macro.
Patch is attached. Maybe I missed something because I don't understand
what numlockmask is for. Maybe my patch breaks something or maybe we
can remove
On Mon, 1 Aug 2011 15:52:37 +0400
anonymous p37si...@lavabit.com wrote:
On Mon, Aug 01, 2011 at 03:34:46PM +0400, anonymous wrote:
Maybe it can be adopted for dwm so we would be able to remove this
CLEANMASK macro.
Patch is attached. Maybe I missed something because I don't understand
On Mon, Aug 01, 2011 at 01:50:33PM +0100, Ethan Grammatikidis wrote:
On Mon, 1 Aug 2011 15:52:37 +0400
anonymous p37si...@lavabit.com wrote:
On Mon, Aug 01, 2011 at 03:34:46PM +0400, anonymous wrote:
Maybe it can be adopted for dwm so we would be able to remove this
CLEANMASK macro.
On Mon, Aug 1, 2011 at 1:34 PM, anonymous p37si...@lavabit.com wrote:
I think my patch is better. There is no special case for 0 mask and state
and when we match for Ctrl and Shift it works only when they both are
pressed. With your patch it will work for Ctrl only or for Shift only.
When a
On Mon, Aug 1, 2011 at 5:55 PM, Aurélien Aptel aurelien.ap...@gmail.com wrote:
When numlock is on, each keypress has a state of 0x10. I suppose
nobody actually use keybindings involving numlock so kmap() could
clear the numlock mask from state before looking for a match in key[].
And handle
On Mon, Aug 01, 2011 at 05:55:25PM +0200, Aurélien Aptel wrote:
On Mon, Aug 1, 2011 at 1:34 PM, anonymous p37si...@lavabit.com wrote:
I think my patch is better. There is no special case for 0 mask and state
and when we match for Ctrl and Shift it works only when they both are
pressed.
On Mon, Aug 1, 2011 at 6:14 PM, anonymous p37si...@lavabit.com wrote:
With my patch it is matched with any modifier too, because (key 0) == 0.
Yes but it doesn't fix the problem of redefining what XK_Insert sends
while keeping shift + insert to paste.
I've used it in my patch attached to match
On Mon, Aug 01, 2011 at 03:52:37PM +0400, anonymous wrote:
On Mon, Aug 01, 2011 at 03:34:46PM +0400, anonymous wrote:
Patch is attached.
Forgot to attach.
To make it work, you should reorder TAGKEYS, so masks with more modifiers are
matched first.
#define TAGKEYS(KEY,TAG) \
{
On Mon 25 Jul 2011 06:22:58 PM PDT, ilf wrote:
What's your favorite color-scheme?
I use Vim's xoria256 color scheme[1] in my Xresources[2].
[1] http://www.vim.org/scripts/script.php?script_id=2140
[2] http://snk.tuxfamily.org/log/xoria256-terminal-color-scheme.html
--
System going down at 5
11 matches
Mail list logo