about summary refs log tree commit diff
path: root/menu.c
Commit message (Collapse)AuthorAgeFilesLines
* cvsimportokan2013-12-171-1/+1
|\
| * replace with memsetokan2013-12-171-1/+1
| |
* | cvsimportokan2013-12-131-1/+1
|\|
| * Teach screen_find_xinerama() to apply gap only when told to do so;okan2013-12-131-1/+1
| | | | | | | | adjust callers. Needed for an upcoming feature.
* | cvsimportokan2013-12-021-7/+2
|\|
| * When we receive a NotionNotify event, there's no need to (incorrectlyokan2013-12-021-3/+0
| | | | | | | | might I add) redraw the top menu selection.
| * Always highlight the first menu item (helpful to see selected items whenokan2013-12-021-4/+2
| | | | | | | | | | not using a mouse and therefore not generating Expose/MotionNotify events); from Thomas Adam.
* | cvsimportokan2013-06-201-3/+4
|\|
| * move Cursors into conf.okan2013-06-171-3/+4
| |
* | cvsimportChristian Neukirchen2013-05-291-74/+59
|\|
| * stray whitespaceokan2013-05-201-1/+1
| |
| * - configure menuwin with the screen, then create the xft drawable usingokan2013-05-201-12/+3
| | | | | | | | | | the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw
| * no reason to pass around *sc when it's already in menu_ctx.okan2013-05-201-33/+31
| |
| * move the 2 small font helper functions to xutil.cokan2013-05-191-5/+5
| |
| * - let callers of font_draw figure out (and pass) the color instead of anokan2013-05-141-4/+4
| | | | | | | | | | | | 'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw.
| * spacingokan2013-05-101-1/+1
| |
| * border width/color makes sense for some, so put it backokan2013-05-071-1/+3
| |
| * border width/color makes no sense on menuwinokan2013-05-061-3/+1
| |
| * - no need to position and size the menu window before an Expose eventokan2013-05-021-16/+9
| | | | | | | | | | | | | | | | | | since we'll be calculating required size later anyway; allows us to consolidate all prompt/display/search string building goop into menu_draw. - reset the pos/size of menuwin when leaving a menu. - reverse the 'prompt' NULL check to be consistent with 'initial' one and fix a whitespace nit while here.
| * zap leftover debug printfokan2013-05-021-1/+0
| |
| * no need for font_{ascent,descent,height} wrappers; limit font_width tookan2013-05-021-14/+18
| | | | | | | | just requiring xftfont.
* | cvsimportokan2013-04-141-0/+2
|\|
| * consistencyokan2013-04-081-0/+1
| |
| * missing prototypeokan2013-04-081-0/+1
| |
* | cvsimportokan2013-04-051-7/+7
|\|
| * zap stray whitespaceokan2013-04-051-7/+7
| |
* | cvsimportokan2013-01-131-0/+2
|\|
| * fix menu/client placement in panning setups; XineramaQueryScreens givesokan2013-01-071-0/+2
| | | | | | | | | | us the width of the psuedo screen, but here we need the edge instead (xmax/ymax); just re-use w/h here for now.
* | cvsimportokan2013-01-061-23/+12
|\|
| * have screen_find_xinerama() return struct geom *reliably* instead ofokan2013-01-021-23/+12
| | | | | | | | XineramaScreenInfo; simplifies goop around the callers.
| * more variable consistencyokan2013-01-021-10/+10
| |
* | cvsimportokan2012-12-191-33/+60
|\|
| * create and use menuq_clear() helper; from Tiago Cunhaokan2012-12-171-4/+12
| |
| * knfokan2012-12-171-6/+6
| |
| * non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-171-29/+48
| | | | | | | | font/color drawing issues; from Alexander Polakov
* | Use vendored queue.h everywhereChristian Neukirchen2012-11-261-1/+1
|/
* tab-complete buglet fix: once exec_path is completed, allow forokan2012-11-141-2/+0
| | | | subsequent completion; from Alexander Polakov
* sortokan2012-11-091-2/+2
|
* get rid of the xfree() wrapper around free(); from Tiago Cunha.okan2012-11-071-3/+3
|
* tab completion support for menus; from Alexander Polakov.okan2012-11-071-3/+73
| | | | ok sthen@ on an older incarnation
* replace 'reload' with 'restart', which merely re-exec's cwm using theokan2012-10-311-4/+0
| | | | | | | existing argv; same idea with respect to argv saving as Alexander Polakov. reload support was half-complete and is getting in the way. agreed to by many
* comment what this whole bit does, not just part of it.okan2012-10-231-2/+1
|
* add a height to struct menu and use it in the most obvious of places.okan2012-10-231-8/+10
|
* treat menu width the same as the height is treated when deciding itsokan2012-10-231-3/+5
| | | | max size and location; partially from a diff from Alexander Polakov.
* Stop drawing when menu doesn't fit inside the screen; picked from aokan2012-10-231-1/+6
| | | | larger diff from Alexander Polakov.
* support multibyte input to menu code; from Alexander Polakov with a tiny tweak.okan2012-08-071-21/+19
|
* convert xmax/ymax uses to view geometry.okan2012-07-131-2/+2
|
* convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysymokan2012-05-161-1/+1
| | | | ok sthen@
* reinit menu on reload; from Alexander Polakov. needed for catchingokan2011-09-081-0/+4
| | | | | | upcoming menu config changes. ok oga@
* use the menu border; from Alexander Polakov, but with the existing define.okan2011-07-251-2/+3
| | | | ok oga@