aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c (unfollow)
Commit message (Expand)AuthorLines
2015-06-05redundant check for 'list'okan-2/+2
2015-03-28Reshuffle and slightly simplify menu_complete_path(), removing anokan-10/+6
2015-01-19Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAXokan-2/+3
2014-09-07more style nitsokan-14/+14
2014-09-06style nitokan-3/+3
2014-02-01Take menu's bwidth into account for position/size; reported by Thomas Adam.okan-3/+3
2014-01-21Sprinkle a few more const; from Tiago Cunha.okan-3/+3
2014-01-20Add a function that adds an entry to a menuq, normalizing a common codeokan-1/+18
2014-01-03use consistent typesokan-3/+3
2014-01-02calculate proper menu width/height on the first Expose event; 'jump' (while u...okan-3/+3
2013-12-17replace with memsetokan-2/+2
2013-12-13Teach screen_find_xinerama() to apply gap only when told to do so;okan-2/+2
2013-12-02When we receive a NotionNotify event, there's no need to (incorrectlyokan-4/+1
2013-12-02Always highlight the first menu item (helpful to see selected items whenokan-5/+3
2013-06-17move Cursors into conf.okan-4/+5
2013-05-20stray whitespaceokan-2/+2
2013-05-20- configure menuwin with the screen, then create the xft drawable usingokan-13/+4
2013-05-20no reason to pass around *sc when it's already in menu_ctx.okan-34/+32
2013-05-19move the 2 small font helper functions to xutil.cokan-6/+6
2013-05-14- let callers of font_draw figure out (and pass) the color instead of anokan-5/+5
2013-05-10spacingokan-2/+2
2013-05-07border width/color makes sense for some, so put it backokan-2/+4
2013-05-06border width/color makes no sense on menuwinokan-4/+2
2013-05-02- no need to position and size the menu window before an Expose eventokan-17/+10
2013-05-02zap leftover debug printfokan-2/+1
2013-05-02no need for font_{ascent,descent,height} wrappers; limit font_width tookan-15/+19
2013-04-08consistencyokan-1/+2
2013-04-08missing prototypeokan-1/+2
2013-04-05zap stray whitespaceokan-8/+8
2013-01-07fix menu/client placement in panning setups; XineramaQueryScreens givesokan-1/+3
2013-01-02have screen_find_xinerama() return struct geom *reliably* instead ofokan-24/+13
2013-01-02more variable consistencyokan-11/+11
2012-12-17create and use menuq_clear() helper; from Tiago Cunhaokan-5/+13
2012-12-17knfokan-7/+7
2012-12-17non-trivial menu drawing rewrite, moving to Xft and solving variousokan-30/+49
2012-11-14tab-complete buglet fix: once exec_path is completed, allow forokan-3/+1
2012-11-09sortokan-3/+3
2012-11-07get rid of the xfree() wrapper around free(); from Tiago Cunha.okan-4/+4
2012-11-07tab completion support for menus; from Alexander Polakov.okan-4/+74
2012-10-31replace 'reload' with 'restart', which merely re-exec's cwm using theokan-5/+1
2012-10-23comment what this whole bit does, not just part of it.okan-3/+2
2012-10-23add a height to struct menu and use it in the most obvious of places.okan-9/+11
2012-10-23treat menu width the same as the height is treated when deciding itsokan-4/+6
2012-10-23Stop drawing when menu doesn't fit inside the screen; picked from aokan-2/+7
2012-08-07support multibyte input to menu code; from Alexander Polakov with a tiny tweak.okan-22/+20
2012-07-13convert xmax/ymax uses to view geometry.okan-3/+3
2012-05-16convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysymokan-2/+2
2011-09-08reinit menu on reload; from Alexander Polakov. needed for catchingokan-1/+5
2011-07-25use the menu border; from Alexander Polakov, but with the existing define.okan-3/+4
2011-07-25We are inconsistent when it comes to function returns, so just go allokan-10/+10