Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Start simplifying menu code; and in turn, remove a cursor no longer | okan | 2016-10-03 | 1 | -21/+18 |
| | | | | needed. | ||||
* | Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests; | okan | 2016-09-30 | 1 | -6/+11 |
| | | | | | the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller. | ||||
* | Replace mousefunc_sweep_draw() with a generic menu_windraw() using va | okan | 2016-09-30 | 1 | -0/+32 |
| | | | | | | | lists; use it appropriately for both window dimension and position in the respective mousefunc calls. ok bryent@ | ||||
* | Mechanical change: move screen menu bits to their own struct. | okan | 2016-09-29 | 1 | -15/+15 |
| | |||||
* | Inline Xft draw and extents wrappers; too much abstraction. | okan | 2016-09-28 | 1 | -9/+23 |
| | |||||
* | Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell | okan | 2016-09-20 | 1 | -0/+3 |
| | |||||
* | Enable the use of numpad Enter key on menus; from Henrique N. Lengler. | okan | 2016-08-28 | 1 | -0/+1 |
| | | | | ok beck phessler | ||||
* | If supplied format to menuq_add() is NULL, fill text with an empty | okan | 2016-04-28 | 1 | -1/+4 |
| | | | | string; found by Christian Neukirchen. | ||||
* | Partial revert of replacing screen_area() with region_find(); until a | okan | 2015-11-11 | 1 | -3/+1 |
| | | | | | | 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. | ||||
* | Extend region to include both view and work areas; switch to | okan | 2015-11-09 | 1 | -1/+3 |
| | | | | | | | 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. | ||||
* | simplify menu print text | okan | 2015-07-12 | 1 | -15/+8 |
| | |||||
* | style | okan | 2015-07-01 | 1 | -5/+4 |
| | |||||
* | style and spacing nits | okan | 2015-06-30 | 1 | -2/+3 |
| | |||||
* | Mechanical change from xinerama to region backed areas. | okan | 2015-06-26 | 1 | -15/+15 |
| | |||||
* | clean up | okan | 2015-06-08 | 1 | -16/+13 |
| | |||||
* | use the same geometry struct in menus as everywhere else | okan | 2015-06-05 | 1 | -34/+31 |
| | |||||
* | add a flag to indicate a menu list instead of overloading 'prompt' | okan | 2015-06-05 | 1 | -1/+3 |
| | |||||
* | redundant check for 'list' | okan | 2015-06-05 | 1 | -1/+1 |
| | |||||
* | Reshuffle and slightly simplify menu_complete_path(), removing an | okan | 2015-03-28 | 1 | -9/+5 |
| | | | | allocation, for tab-completion; checked by Alexander Polakov as well. | ||||
* | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | okan | 2015-01-19 | 1 | -1/+2 |
| | | | | | | and HOST_NAME_MAX+1, respectively. ok doug@ | ||||
* | more style nits | okan | 2014-09-07 | 1 | -13/+13 |
| | |||||
* | style nit | okan | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | Take menu's bwidth into account for position/size; reported by Thomas Adam. | okan | 2014-02-01 | 1 | -2/+2 |
| | |||||
* | Sprinkle a few more const; from Tiago Cunha. | okan | 2014-01-21 | 1 | -2/+2 |
| | |||||
* | Add a function that adds an entry to a menuq, normalizing a common code | okan | 2014-01-20 | 1 | -0/+17 |
| | | | | path; from Tiago Cunha. | ||||
* | use consistent types | okan | 2014-01-03 | 1 | -2/+2 |
| | |||||
* | calculate proper menu width/height on the first Expose event; 'jump' (while ↵ | okan | 2014-01-02 | 1 | -2/+2 |
| | | | | using gap) noticed by Christian Neukirchen | ||||
* | replace with memset | okan | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Teach screen_find_xinerama() to apply gap only when told to do so; | okan | 2013-12-13 | 1 | -1/+1 |
| | | | | adjust callers. Needed for an upcoming feature. | ||||
* | When we receive a NotionNotify event, there's no need to (incorrectly | okan | 2013-12-02 | 1 | -3/+0 |
| | | | | might I add) redraw the top menu selection. | ||||
* | Always highlight the first menu item (helpful to see selected items when | okan | 2013-12-02 | 1 | -4/+2 |
| | | | | | not using a mouse and therefore not generating Expose/MotionNotify events); from Thomas Adam. | ||||
* | move Cursors into conf. | okan | 2013-06-17 | 1 | -3/+4 |
| | |||||
* | stray whitespace | okan | 2013-05-20 | 1 | -1/+1 |
| | |||||
* | - configure menuwin with the screen, then create the xft drawable using | okan | 2013-05-20 | 1 | -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. | okan | 2013-05-20 | 1 | -33/+31 |
| | |||||
* | move the 2 small font helper functions to xutil.c | okan | 2013-05-19 | 1 | -5/+5 |
| | |||||
* | - let callers of font_draw figure out (and pass) the color instead of an | okan | 2013-05-14 | 1 | -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. | ||||
* | spacing | okan | 2013-05-10 | 1 | -1/+1 |
| | |||||
* | border width/color makes sense for some, so put it back | okan | 2013-05-07 | 1 | -1/+3 |
| | |||||
* | border width/color makes no sense on menuwin | okan | 2013-05-06 | 1 | -3/+1 |
| | |||||
* | - no need to position and size the menu window before an Expose event | okan | 2013-05-02 | 1 | -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 printf | okan | 2013-05-02 | 1 | -1/+0 |
| | |||||
* | no need for font_{ascent,descent,height} wrappers; limit font_width to | okan | 2013-05-02 | 1 | -14/+18 |
| | | | | just requiring xftfont. | ||||
* | consistency | okan | 2013-04-08 | 1 | -0/+1 |
| | |||||
* | missing prototype | okan | 2013-04-08 | 1 | -0/+1 |
| | |||||
* | zap stray whitespace | okan | 2013-04-05 | 1 | -7/+7 |
| | |||||
* | fix menu/client placement in panning setups; XineramaQueryScreens gives | okan | 2013-01-07 | 1 | -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. | ||||
* | have screen_find_xinerama() return struct geom *reliably* instead of | okan | 2013-01-02 | 1 | -23/+12 |
| | | | | XineramaScreenInfo; simplifies goop around the callers. | ||||
* | more variable consistency | okan | 2013-01-02 | 1 | -10/+10 |
| | |||||
* | create and use menuq_clear() helper; from Tiago Cunha | okan | 2012-12-17 | 1 | -4/+12 |
| |