aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c (follow)
Commit message (Collapse)AuthorAgeLines
...
* a long time coming - re-work the way we deal with colors: since we'reokan2009-05-17-2/+13
| | | | | | | | using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@
* - avoid shadowed Mask declaration in menu_filtermartynas2009-03-28-5/+5
| | | | | - make _xev_reincorporate static evmask naming oga@, input okan@. ok okan@, oga@
* spacing, declaration lineup to be consistent throughout cwm,okan2008-07-11-7/+8
| | | | | | readability, and a bit of knf. ok oga@
* Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font.oga2008-06-15-20/+16
| | | | | | | makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@.
* prevent trying to exec a null char; could potentially happen with aokan2008-06-05-1/+1
| | | | | | canceled or empty searchstr. ok oga@
* Grab the keyboard when we initialise the menu. This stops the keyboardoga2008-05-23-0/+5
| | | | | | shortcut code stealing our events in some cases. "put 'er in" okan@.
* Make menu_filter handle mouse movement too. This enables the keyboardoga2008-05-21-32/+137
| | | | | | | | | | 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@.
* Pull out the behaviour in grab_label and search_start into one utilityoga2008-05-20-0/+296
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@.