Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-15 | Fix overlapping menu items as reported by kn@ and probably others at | Okan Demirmen | |
some point; with op@ and Walter Alejandro Iglesias helping along the way. Consistently use font ascent+descent instead of an arbitrary font height+1 for individual menu item rectangles and placement. ok kn@ op@ | |||
2020-02-27 | Unrelated style fixes, consistency changes and sorting, appropriate | Okan Demirmen | |
dosage/removal of wrappers, simplification of name queue, client cycle joins other kb/mb bound functions. | |||
2019-08-12 | Fix regression from r1.107 (lost a return); kettenis@ pointed out the high | Okan Demirmen | |
potential for a use-after-free (true!) where kn@ ran into the regression using an app that actually exercised the XGrabPointer() failure path. | |||
2019-03-04 | Separate out the menu window from the client resize/move geom window; in each | Okan Demirmen | |
case, create and destroy on-demand. Isolate more menu specific code. | |||
2018-11-14 | Stop asking for events (NoEventMask) from menu window once done with | Okan Demirmen | |
the menu (we don't destroy it, only unmap). | |||
2017-12-19 | Use a variable to keep track of flags for menu_filter(). | Okan Demirmen | |
2017-12-12 | clean up after previous (noprompt removal) | Okan Demirmen | |
2017-12-11 | Unconditionally show prompt on menus, regardless of invocation. | Okan Demirmen | |
2017-04-25 | Remove 'noresult' (and simplify) as it does nothing and makes the logic around | Okan Demirmen | |
it needless. History doesn't show what this might have been used for in future iterations. | |||
2016-12-06 | stray newlines | Okan Demirmen | |
2016-12-06 | Add search_print_text(), a default callback for mi->print in menu_filter(). ↵ | Okan Demirmen | |
While here, normalize the remaining search_print_* argument paramters. | |||
2016-12-01 | Tame the number of 'exec' and 'path' search_match wrappers. No functional | Okan Demirmen | |
change now, though more can likely go later, losing the (paritally complete or incomplete/broken) argument completion bits. | |||
2016-10-24 | Make it clear these are flags. | Okan Demirmen | |
2016-10-03 | Start simplifying menu code; and in turn, remove a cursor no longer | Okan Demirmen | |
needed. | |||
2016-09-30 | Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests; | Okan Demirmen | |
the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller. | |||
2016-09-30 | Replace mousefunc_sweep_draw() with a generic menu_windraw() using va | Okan Demirmen | |
lists; use it appropriately for both window dimension and position in the respective mousefunc calls. ok bryent@ | |||
2016-09-29 | Mechanical change: move screen menu bits to their own struct. | Okan Demirmen | |
2016-09-28 | Inline Xft draw and extents wrappers; too much abstraction. | Okan Demirmen | |
2016-09-20 | Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell | Okan Demirmen | |
2016-08-28 | Enable the use of numpad Enter key on menus; from Henrique N. Lengler. | Okan Demirmen | |
ok beck phessler | |||
2016-04-28 | If supplied format to menuq_add() is NULL, fill text with an empty | Okan Demirmen | |
string; found by Christian Neukirchen. | |||
2015-11-11 | Partial revert of replacing screen_area() with region_find(); until a | Okan Demirmen | |
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 Demirmen | |
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 Demirmen | |
2015-07-01 | style | Okan Demirmen | |
2015-06-30 | style and spacing nits | Okan Demirmen | |
2015-06-26 | Mechanical change from xinerama to region backed areas. | Okan Demirmen | |
2015-06-08 | clean up | Okan Demirmen | |
2015-06-05 | use the same geometry struct in menus as everywhere else | Okan Demirmen | |
2015-06-05 | add a flag to indicate a menu list instead of overloading 'prompt' | Okan Demirmen | |
2015-06-05 | redundant check for 'list' | Okan Demirmen | |
2015-03-28 | Reshuffle and slightly simplify menu_complete_path(), removing an | Okan Demirmen | |
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 Demirmen | |
and HOST_NAME_MAX+1, respectively. ok doug@ | |||
2014-09-07 | more style nits | Okan Demirmen | |
2014-09-06 | style nit | Okan Demirmen | |
2014-02-01 | Take menu's bwidth into account for position/size; reported by Thomas Adam. | Okan Demirmen | |
2014-01-21 | Sprinkle a few more const; from Tiago Cunha. | Okan Demirmen | |
2014-01-20 | Add a function that adds an entry to a menuq, normalizing a common code | Okan Demirmen | |
path; from Tiago Cunha. | |||
2014-01-03 | use consistent types | Okan Demirmen | |
2014-01-02 | calculate proper menu width/height on the first Expose event; 'jump' (while ↵ | Okan Demirmen | |
using gap) noticed by Christian Neukirchen | |||
2013-12-17 | replace with memset | Okan Demirmen | |
2013-12-13 | Teach screen_find_xinerama() to apply gap only when told to do so; | Okan Demirmen | |
adjust callers. Needed for an upcoming feature. | |||
2013-12-02 | When we receive a NotionNotify event, there's no need to (incorrectly | Okan Demirmen | |
might I add) redraw the top menu selection. | |||
2013-12-02 | Always highlight the first menu item (helpful to see selected items when | Okan Demirmen | |
not using a mouse and therefore not generating Expose/MotionNotify events); from Thomas Adam. | |||
2013-06-17 | move Cursors into conf. | Okan Demirmen | |
2013-05-20 | stray whitespace | Okan Demirmen | |
2013-05-20 | - configure menuwin with the screen, then create the xft drawable using | Okan Demirmen | |
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 Demirmen | |
2013-05-19 | move the 2 small font helper functions to xutil.c | Okan Demirmen | |
2013-05-14 | - let callers of font_draw figure out (and pass) the color instead of an | Okan Demirmen | |
'active' flag. - use strlen() inside of font_draw; the only instance where it wasn't used happened to be ignored on a subsequent draw. |