]> git.sur5r.net Git - i3/i3/commit
Bug: parse con_id base 16 2078/head
authorTony Crisci <tony@dubstepdish.com>
Sun, 22 Nov 2015 18:32:21 +0000 (13:32 -0500)
committerTony Crisci <tony@dubstepdish.com>
Sun, 22 Nov 2015 18:32:21 +0000 (13:32 -0500)
commit8f90b8448b016da41bef32baf0a53aabe3f294b3
treec50091841fd525a3f7a1bee067ba08f7704fa50b
parent233a22cb106f80f4f1302c82a9f4808d6d7b1c03
Bug: parse con_id base 16

Mouse bindings that target the window that was clicked send the command
to the parser with `con_id` of the clicked window serialized base 16
for compatability with FreeBSD. See 7c2842e for explaination.

Set base to 0 for strtol to handle base 16 numbers for that reason.

This allows mouse bindings that target specific windows to work
correctly. Without this change, the focused window is always targetted
rather than the window that was actually clicked.

Regression introduced in b744c5e.
src/match.c