summaryrefslogtreecommitdiff
path: root/app/cwm/menu.c
AgeCommit message (Collapse)Author
2008-07-11spacing, declaration lineup to be consistent throughout cwm,Okan Demirmen
readability, and a bit of knf. ok oga@
2008-06-15Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.Owain Ainsworth
makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@.
2008-06-05prevent trying to exec a null char; could potentially happen with aOkan Demirmen
canceled or empty searchstr. ok oga@
2008-05-23Grab the keyboard when we initialise the menu. This stops the keyboardOwain Ainsworth
shortcut code stealing our events in some cases. "put 'er in" okan@.
2008-05-21Make menu_filter handle mouse movement too. This enables the keyboardOwain Ainsworth
search dialogues to be manipulated with the mouse, too. It also allows me to shrink the codebase further by killing grab_menu(). One known issue with highlighting the first entry in a search dialogue, that'll be fixed soonish. ok okan@, tested by Edd Barrett and todd@.
2008-05-20Pull out the behaviour in grab_label and search_start into one utilityOwain Ainsworth
function menu_filter(). The plan is to eventually merge in grab_menu too. Shrinks the code a fair bit. Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other windows. This is particuarly noticable on slow machines with a LOT of xterms (todd, you're an odd man). ok okan@, todd@.