Re: cwm: fix invalid KeyCode in configuration

2021-11-19 Thread Okan Demirmen
On Tue 2021.11.16 at 21:33 +, Lu?s Henriques wrote: > Hi! > > I've tried to setup a line like: > > bind-key XF86MonBrightnessDown "" > > in my .cwmrc and the result was that no key event was sent to my windows. > > Looking at the code, it looks like XKeysymToKeycode() is returning 0 for >

Re: cwm: fix invalid KeyCode in configuration

2021-11-19 Thread Luís Henriques
On Fri, Nov 19, 2021 at 08:18:45AM +0100, Jan Stary wrote: > On Nov 19 00:01:04, stef...@sdaoden.eu wrote: > > Jan Stary wrote in > > : > > |On Nov 18 20:13:03, h...@stare.cz wrote: > > |> On Nov 16 21:33:31, hen...@camandro.org wrote: > > |>> I've tried to setup a line like: > > |>> bind-key

Re: cwm: fix invalid KeyCode in configuration

2021-11-18 Thread Jan Stary
On Nov 19 00:01:04, stef...@sdaoden.eu wrote: > Jan Stary wrote in > : > |On Nov 18 20:13:03, h...@stare.cz wrote: > |> On Nov 16 21:33:31, hen...@camandro.org wrote: > |>> I've tried to setup a line like: > |>> bind-key XF86MonBrightnessDown "" > |>> in my .cwmrc and the result was that no

Re: cwm: fix invalid KeyCode in configuration

2021-11-18 Thread Steffen Nurpmeso
Jan Stary wrote in : |On Nov 18 20:13:03, h...@stare.cz wrote: |> On Nov 16 21:33:31, hen...@camandro.org wrote: |>> I've tried to setup a line like: |>> bind-key XF86MonBrightnessDown "" |>> in my .cwmrc and the result was that no key event was sent to my \ |>> windows. |> |> Please

Re: cwm: fix invalid KeyCode in configuration

2021-11-18 Thread Jan Stary
On Nov 18 20:13:03, h...@stare.cz wrote: > On Nov 16 21:33:31, hen...@camandro.org wrote: > > I've tried to setup a line like: > > bind-key XF86MonBrightnessDown "" > > in my .cwmrc and the result was that no key event was sent to my windows. > > Please excuse my X ignorance, but shouldn't

Re: cwm: fix invalid KeyCode in configuration

2021-11-18 Thread Jan Stary
On Nov 16 21:33:31, hen...@camandro.org wrote: > I've tried to setup a line like: > bind-key XF86MonBrightnessDown "" > in my .cwmrc and the result was that no key event was sent to my windows. Please excuse my X ignorance, but shouldn't XF86MonBrightnessDown be catched by the X server (to take

cwm: fix invalid KeyCode in configuration

2021-11-16 Thread Luís Henriques
Hi! I've tried to setup a line like: bind-key XF86MonBrightnessDown "" in my .cwmrc and the result was that no key event was sent to my windows. Looking at the code, it looks like XKeysymToKeycode() is returning 0 for the XF86MonBrightnessDown keysym. And this means that XGrabKey() will get