I'd like to reserve the "Right-Alt Up" and "Right-Alt Down" key sequences for reading news in Netscape / Communicator. I tired replacing the FL_ALT in the FL_ALT+Up and FL_ALT+Down definitons (defined to lower the active window) in Hotkeys.C with FL_Alt_R but that didn't seem to work. The window manager gave a "beep" and then produced some odd text in the xterm I had open.
Any ideas on what is wrong with this or what I could do to achieve the desired result?
Thanks ~ pat
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I don't think X allows you to 'grab' keys based on single shift keys, only on the shift flags which have merged together the left+right keys already. The all-caps symbol FL_ALT is one of these shift bits. The symbol FL_Alt_R is a number for that key (each key on the keyboard has a number) and cannot be or'd, so your program tried to handle some random bit mask and probably produced an X error.
I did not know that Alt+up/down interfered with NetScape, I think this means that this should be removed from the defaults. I already removed Alt+left/right for the same reasons, though I'm a bit confused as to why KDE ever did this, since NetScape is certainly a program they wanted to have work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, after I posted I looked back at the code and the context/syntax indicated the different data types. Oh, well. In Netscape's news reader you can use Alt-Up (Alt-Down) to selectect the previous (next) message ... Frankly, I'd rather have the Raise (Lower) feature in FLWM...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'd like to reserve the "Right-Alt Up" and "Right-Alt Down" key sequences for reading news in Netscape / Communicator. I tired replacing the FL_ALT in the FL_ALT+Up and FL_ALT+Down definitons (defined to lower the active window) in Hotkeys.C with FL_Alt_R but that didn't seem to work. The window manager gave a "beep" and then produced some odd text in the xterm I had open.
Any ideas on what is wrong with this or what I could do to achieve the desired result?
Thanks ~ pat
Unfortunately I don't think X allows you to 'grab' keys based on single shift keys, only on the shift flags which have merged together the left+right keys already. The all-caps symbol FL_ALT is one of these shift bits. The symbol FL_Alt_R is a number for that key (each key on the keyboard has a number) and cannot be or'd, so your program tried to handle some random bit mask and probably produced an X error.
I did not know that Alt+up/down interfered with NetScape, I think this means that this should be removed from the defaults. I already removed Alt+left/right for the same reasons, though I'm a bit confused as to why KDE ever did this, since NetScape is certainly a program they wanted to have work.
Yeah, after I posted I looked back at the code and the context/syntax indicated the different data types. Oh, well. In Netscape's news reader you can use Alt-Up (Alt-Down) to selectect the previous (next) message ... Frankly, I'd rather have the Raise (Lower) feature in FLWM...