Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2016-04-28 | If supplied format to menuq_add() is NULL, fill text with an empty | okan | -2/+5 | |
string; found by Christian Neukirchen. | ||||
2015-11-11 | Partial revert of replacing screen_area() with region_find(); until a | okan | -4/+2 | |
fix for a regression is found; this bug has been around for a long time it seems, but this change exposed it. Likely need to track clients in to and out of regions. | ||||
2015-11-09 | Extend region to include both view and work areas; switch to | okan | -2/+4 | |
region_find() which no longer needs to recalculate gap each time a client (or menu) is created or altered. If no RandR, fall back to display dimensions while building regions instead of during execution. | ||||
2015-07-12 | simplify menu print text | okan | -16/+9 | |
2015-07-01 | style | okan | -6/+5 | |
2015-06-30 | style and spacing nits | okan | -3/+4 | |
2015-06-26 | Mechanical change from xinerama to region backed areas. | okan | -16/+16 | |
2015-06-08 | clean up | okan | -17/+14 | |
2015-06-05 | use the same geometry struct in menus as everywhere else | okan | -35/+32 | |
2015-06-05 | add a flag to indicate a menu list instead of overloading 'prompt' | okan | -2/+4 | |
2015-06-05 | redundant check for 'list' | okan | -2/+2 | |
2015-03-28 | Reshuffle and slightly simplify menu_complete_path(), removing an | okan | -10/+6 | |
allocation, for tab-completion; checked by Alexander Polakov as well. | ||||
2015-01-19 | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | okan | -2/+3 | |
and HOST_NAME_MAX+1, respectively. ok doug@ | ||||
2014-09-07 | more style nits | okan | -14/+14 | |
2014-09-06 | style nit | okan | -3/+3 | |
2014-02-01 | Take menu's bwidth into account for position/size; reported by Thomas Adam. | okan | -3/+3 | |
2014-01-21 | Sprinkle a few more const; from Tiago Cunha. | okan | -3/+3 | |
2014-01-20 | Add a function that adds an entry to a menuq, normalizing a common code | okan | -1/+18 | |
path; from Tiago Cunha. | ||||
2014-01-03 | use consistent types | okan | -3/+3 | |
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 |