Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | zap leftover debug printf | okan | 2013-05-02 | -2/+1 |
| | ||||
* | no need for font_{ascent,descent,height} wrappers; limit font_width to | okan | 2013-05-02 | -15/+19 |
| | | | | just requiring xftfont. | |||
* | consistency | okan | 2013-04-08 | -1/+2 |
| | ||||
* | missing prototype | okan | 2013-04-08 | -1/+2 |
| | ||||
* | zap stray whitespace | okan | 2013-04-05 | -8/+8 |
| | ||||
* | fix menu/client placement in panning setups; XineramaQueryScreens gives | okan | 2013-01-07 | -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. | |||
* | have screen_find_xinerama() return struct geom *reliably* instead of | okan | 2013-01-02 | -24/+13 |
| | | | | XineramaScreenInfo; simplifies goop around the callers. | |||
* | more variable consistency | okan | 2013-01-02 | -11/+11 |
| | ||||
* | create and use menuq_clear() helper; from Tiago Cunha | okan | 2012-12-17 | -5/+13 |
| | ||||
* | knf | okan | 2012-12-17 | -7/+7 |
| | ||||
* | non-trivial menu drawing rewrite, moving to Xft and solving various | okan | 2012-12-17 | -30/+49 |
| | | | | font/color drawing issues; from Alexander Polakov | |||
* | tab-complete buglet fix: once exec_path is completed, allow for | okan | 2012-11-14 | -3/+1 |
| | | | | subsequent completion; from Alexander Polakov | |||
* | sort | okan | 2012-11-09 | -3/+3 |
| | ||||
* | get rid of the xfree() wrapper around free(); from Tiago Cunha. | okan | 2012-11-07 | -4/+4 |
| | ||||
* | tab completion support for menus; from Alexander Polakov. | okan | 2012-11-07 | -4/+74 |
| | | | | ok sthen@ on an older incarnation | |||
* | replace 'reload' with 'restart', which merely re-exec's cwm using the | okan | 2012-10-31 | -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 | |||
* | comment what this whole bit does, not just part of it. | okan | 2012-10-23 | -3/+2 |
| | ||||
* | add a height to struct menu and use it in the most obvious of places. | okan | 2012-10-23 | -9/+11 |
| | ||||
* | treat menu width the same as the height is treated when deciding its | okan | 2012-10-23 | -4/+6 |
| | | | | max size and location; partially from a diff from Alexander Polakov. | |||
* | Stop drawing when menu doesn't fit inside the screen; picked from a | okan | 2012-10-23 | -2/+7 |
| | | | | larger diff from Alexander Polakov. | |||
* | support multibyte input to menu code; from Alexander Polakov with a tiny tweak. | okan | 2012-08-07 | -22/+20 |
| | ||||
* | convert xmax/ymax uses to view geometry. | okan | 2012-07-13 | -3/+3 |
| | ||||
* | convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysym | okan | 2012-05-16 | -2/+2 |
| | | | | ok sthen@ | |||
* | reinit menu on reload; from Alexander Polakov. needed for catching | okan | 2011-09-08 | -1/+5 |
| | | | | | | upcoming menu config changes. ok oga@ | |||
* | use the menu border; from Alexander Polakov, but with the existing define. | okan | 2011-07-25 | -3/+4 |
| | | | | ok oga@ | |||
* | We are inconsistent when it comes to function returns, so just go all | okan | 2011-07-25 | -10/+10 |
| | | | | | | the way with the cwm specific parts. ok oga@ | |||
* | Clarify defines and make them not look like non-local ones; started by a | okan | 2011-07-23 | -6/+6 |
| | | | | | | small diff from Thomas Pfaff. ok oga@ | |||
* | UTF8-ify, from Alexander Polakov, but without setlocale(), after | okan | 2011-06-27 | -6/+6 |
| | | | | | | feedback from stsp@ - thanks! 'go for it' oga@ | |||
* | add 'normal' cursor and shuffle the others we use to make a bit more | okan | 2011-06-24 | -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@ | |||
* | tag and comment cleanup; ok oga@ | okan | 2011-05-11 | -0/+4 |
| | ||||
* | make the menu window aware of xinerama info; this makes the menu stay | okan | 2011-05-05 | -10/+27 |
| | | | | | | | within the current screen, like other cwm window placements and mutations (vmax/hmax/max) - from Sviatoslav Chagaev. ok oga@ | |||
* | warp the pointer back, iff we don't move the mouse, once we are done | okan | 2011-03-22 | -0/+8 |
| | | | | | | with the menu; idea and initial from Sviatoslav Chagaev. discussion with and ok oga@ | |||
* | we should re-focus the client and ungrab the ptr even if we don't have a | okan | 2011-03-22 | -5/+5 |
| | | | | | | | mouse based match (i.e. in the kbd no match case). update the comment as well. ok oga@ | |||
* | fix nousance of always highlighting the first entry even when there is | okan | 2011-03-22 | -1/+1 |
| | | | | | | no match (seen in the ctrl-a case) ok oga@ | |||
* | move the default case to the end. | okan | 2011-03-22 | -2/+2 |
| | | | | ok oga@ | |||
* | move the single keycode function directly into the menu code. | okan | 2011-03-22 | -2/+95 |
| | | | | ok oga@ | |||
* | preserve labels after an edit action is aborted; extending the menu | okan | 2010-02-10 | -0/+2 |
| | | | | | | | | | struct just for this is the least intrusive approach until the menu code is reviewed. inspired by Thomas Pfaff's report on tech@ ok oga@ | |||
* | pull all non-X11 headers from calmwm.h and place them only where they | okan | 2009-12-15 | -0/+10 |
| | | | | | | are required. encourged to go all the way by oga@ | |||
* | merge the 2 common header files; specific includes to be pulled out as | okan | 2009-12-15 | -1/+0 |
| | | | | | | separate commits. ok oga@ | |||
* | finish unfucking the screen_ctx handling. | oga | 2009-12-10 | -4/+2 |
| | | | | | | | | | | | | | remove screen_current() it was utterly bogus when nscreens > 1. pass a fake client_ctx in the case where there's no client and the kbfunc or mousefunc doesn't need a real one, it just contains the current screen, modify these functions so that they pass down the screen context to their callees. make groups per screen, it's the only way it makes sense in this regard. ok okan@. | |||
* | start fixing screen_ctx usage, for it is utterly broken. bring font | okan | 2009-12-08 | -15/+15 |
| | | | | | | | | | into screen_ctx and start passing screen_ctx around to in order get rid of Curscreen; fixup per-screen config colors the same way. diff mostly from oga@, with a bit harsher reaction to the state of screen_ctx. "please commit" oga@ | |||
* | fix off-by-one where a mere click would select the first item inside a menu | okan | 2009-12-07 | -1/+1 |
| | | | | | | from Thomas Pfaff ok oga@ | |||
* | style (whitespaces) | tobias | 2009-11-28 | -1/+1 |
| | | | | ok oga, okan | |||
* | style | tobias | 2009-09-05 | -2/+2 |
| | | | | ok oga | |||
* | static local functions and data; almost identical diff from Thomas Pfaff | okan | 2009-06-26 | -3/+3 |
| | | | | ok oga@ | |||
* | unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the | okan | 2009-06-20 | -1/+1 |
| | | | | | | place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@ | |||
* | move like defines to a central, logical location; no binary change. | okan | 2009-06-17 | -5/+0 |
| | | | | aok oga@ | |||
* | revert the 1.4 change - causes a double free noticed by grange@ a while | okan | 2009-05-30 | -1/+1 |
| | | | | | | ago while using kazehakase (or clients that don't set a name). ok oga@ | |||
* | a long time coming - re-work the way we deal with colors: since we're | okan | 2009-05-17 | -2/+13 |
| | | | | | | | | using Xft(3), use it to select the font color as well instead of trying to build one; properly allocate and free colors at-will, e.g. we now have configurable colors. feedback and ok's todd@ and oga@ | |||
* | - avoid shadowed Mask declaration in menu_filter | martynas | 2009-03-28 | -5/+5 |
| | | | | | - make _xev_reincorporate static evmask naming oga@, input okan@. ok okan@, oga@ |