Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2014-01-02 | calculate proper menu width/height on the first Expose event; 'jump' (while ↵ | okan | -3/+3 | |
using gap) noticed by Christian Neukirchen | ||||
2013-12-17 | replace with memset | okan | -2/+2 | |
2013-12-13 | Teach screen_find_xinerama() to apply gap only when told to do so; | okan | -2/+2 | |
adjust callers. Needed for an upcoming feature. | ||||
2013-12-02 | When we receive a NotionNotify event, there's no need to (incorrectly | okan | -4/+1 | |
might I add) redraw the top menu selection. | ||||
2013-12-02 | Always highlight the first menu item (helpful to see selected items when | okan | -5/+3 | |
not using a mouse and therefore not generating Expose/MotionNotify events); from Thomas Adam. | ||||
2013-06-17 | move Cursors into conf. | okan | -4/+5 | |
2013-05-20 | stray whitespace | okan | -2/+2 | |
2013-05-20 | - configure menuwin with the screen, then create the xft drawable using | okan | -13/+4 | |
the menu window since that's the only place on which we draw - elminate the need to change the drawable on every font draw | ||||
2013-05-20 | no reason to pass around *sc when it's already in menu_ctx. | okan | -34/+32 | |
2013-05-19 | move the 2 small font helper functions to xutil.c | okan | -6/+6 | |
2013-05-14 | - let callers of font_draw figure out (and pass) the color instead of an | okan | -5/+5 | |
'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw. | ||||
2013-05-10 | spacing | okan | -2/+2 | |
2013-05-07 | border width/color makes sense for some, so put it back | okan | -2/+4 | |
2013-05-06 | border width/color makes no sense on menuwin | okan | -4/+2 | |
2013-05-02 | - no need to position and size the menu window before an Expose event | okan | -17/+10 | |
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. | ||||
2013-05-02 | zap leftover debug printf | okan | -2/+1 | |
2013-05-02 | no need for font_{ascent,descent,height} wrappers; limit font_width to | okan | -15/+19 | |
just requiring xftfont. | ||||
2013-04-08 | consistency | okan | -1/+2 | |
2013-04-08 | missing prototype | okan | -1/+2 | |
2013-04-05 | zap stray whitespace | okan | -8/+8 | |
2013-01-07 | fix menu/client placement in panning setups; XineramaQueryScreens gives | okan | -1/+3 | |
us the width of the psuedo screen, but here we need the edge instead (xmax/ymax); just re-use w/h here for now. | ||||
2013-01-02 | have screen_find_xinerama() return struct geom *reliably* instead of | okan | -24/+13 | |
XineramaScreenInfo; simplifies goop around the callers. | ||||
2013-01-02 | more variable consistency | okan | -11/+11 | |
2012-12-17 | create and use menuq_clear() helper; from Tiago Cunha | okan | -5/+13 | |
2012-12-17 | knf | okan | -7/+7 | |
2012-12-17 | non-trivial menu drawing rewrite, moving to Xft and solving various | okan | -30/+49 | |
font/color drawing issues; from Alexander Polakov | ||||
2012-11-14 | tab-complete buglet fix: once exec_path is completed, allow for | okan | -3/+1 | |
subsequent completion; from Alexander Polakov | ||||
2012-11-09 | sort | okan | -3/+3 | |
2012-11-07 | get rid of the xfree() wrapper around free(); from Tiago Cunha. | okan | -4/+4 | |
2012-11-07 | tab completion support for menus; from Alexander Polakov. | okan | -4/+74 | |
ok sthen@ on an older incarnation | ||||
2012-10-31 | replace 'reload' with 'restart', which merely re-exec's cwm using the | okan | -5/+1 | |
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 | ||||
2012-10-23 | comment what this whole bit does, not just part of it. | okan | -3/+2 | |
2012-10-23 | add a height to struct menu and use it in the most obvious of places. | okan | -9/+11 | |
2012-10-23 | treat menu width the same as the height is treated when deciding its | okan | -4/+6 | |
max size and location; partially from a diff from Alexander Polakov. | ||||
2012-10-23 | Stop drawing when menu doesn't fit inside the screen; picked from a | okan | -2/+7 | |
larger diff from Alexander Polakov. | ||||
2012-08-07 | support multibyte input to menu code; from Alexander Polakov with a tiny tweak. | okan | -22/+20 | |
2012-07-13 | convert xmax/ymax uses to view geometry. | okan | -3/+3 | |
2012-05-16 | convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym | okan | -2/+2 | |
ok sthen@ | ||||
2011-09-08 | reinit menu on reload; from Alexander Polakov. needed for catching | okan | -1/+5 | |
upcoming menu config changes. ok oga@ | ||||
2011-07-25 | use the menu border; from Alexander Polakov, but with the existing define. | okan | -3/+4 | |
ok oga@ | ||||
2011-07-25 | We are inconsistent when it comes to function returns, so just go all | okan | -10/+10 | |
the way with the cwm specific parts. ok oga@ | ||||
2011-07-23 | Clarify defines and make them not look like non-local ones; started by a | okan | -6/+6 | |
small diff from Thomas Pfaff. ok oga@ | ||||
2011-06-27 | UTF8-ify, from Alexander Polakov, but without setlocale(), after | okan | -6/+6 | |
feedback from stsp@ - thanks! 'go for it' oga@ | ||||
2011-06-24 | add 'normal' cursor and shuffle the others we use to make a bit more | okan | -2/+2 | |
sense and to be slightly less un-expected. from Alexander Polakov. re-use 'normal' cursor now instead XC_hand1 for menu selection. i really wish X had real docs and made sense. ok on earlier diff with '?' removed (but it's back now) oga@ | ||||
2011-05-11 | tag and comment cleanup; ok oga@ | okan | -0/+4 | |
2011-05-05 | make the menu window aware of xinerama info; this makes the menu stay | okan | -10/+27 | |
within the current screen, like other cwm window placements and mutations (vmax/hmax/max) - from Sviatoslav Chagaev. ok oga@ | ||||
2011-03-22 | warp the pointer back, iff we don't move the mouse, once we are done | okan | -0/+8 | |
with the menu; idea and initial from Sviatoslav Chagaev. discussion with and ok oga@ | ||||
2011-03-22 | we should re-focus the client and ungrab the ptr even if we don't have a | okan | -5/+5 | |
mouse based match (i.e. in the kbd no match case). update the comment as well. ok oga@ | ||||
2011-03-22 | fix nousance of always highlighting the first entry even when there is | okan | -1/+1 | |
no match (seen in the ctrl-a case) ok oga@ | ||||
2011-03-22 | move the default case to the end. | okan | -2/+2 | |
ok oga@ |