Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
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@ | ||||
2011-03-22 | move the single keycode function directly into the menu code. | okan | -2/+95 | |
ok oga@ | ||||
2010-02-10 | preserve labels after an edit action is aborted; extending the menu | okan | -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@ | ||||
2009-12-15 | pull all non-X11 headers from calmwm.h and place them only where they | okan | -0/+10 | |
are required. encourged to go all the way by oga@ | ||||
2009-12-15 | merge the 2 common header files; specific includes to be pulled out as | okan | -1/+0 | |
separate commits. ok oga@ | ||||
2009-12-10 | finish unfucking the screen_ctx handling. | oga | -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@. | ||||
2009-12-08 | start fixing screen_ctx usage, for it is utterly broken. bring font | okan | -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@ | ||||
2009-12-07 | fix off-by-one where a mere click would select the first item inside a menu | okan | -1/+1 | |
from Thomas Pfaff ok oga@ | ||||
2009-11-28 | style (whitespaces) | tobias | -1/+1 | |
ok oga, okan | ||||
2009-09-05 | style | tobias | -2/+2 | |
ok oga | ||||
2009-06-26 | static local functions and data; almost identical diff from Thomas Pfaff | okan | -3/+3 | |
ok oga@ | ||||
2009-06-20 | unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the | okan | -1/+1 | |
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@ | ||||
2009-06-17 | move like defines to a central, logical location; no binary change. | okan | -5/+0 | |
aok oga@ | ||||
2009-05-30 | revert the 1.4 change - causes a double free noticed by grange@ a while | okan | -1/+1 | |
ago while using kazehakase (or clients that don't set a name). ok oga@ | ||||
2009-05-17 | a long time coming - re-work the way we deal with colors: since we're | okan | -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@ | ||||
2009-03-28 | - avoid shadowed Mask declaration in menu_filter | martynas | -5/+5 | |
- make _xev_reincorporate static evmask naming oga@, input okan@. ok okan@, oga@ | ||||
2008-07-11 | spacing, declaration lineup to be consistent throughout cwm, | okan | -7/+8 | |
readability, and a bit of knf. ok oga@ | ||||
2008-06-15 | Rip out and burn the HASH_* stuff. We don't need a SPLAY tree for one font. | oga | -20/+16 | |
makes the code a lot simpler. While here rearrange the font handling functions to be less shit. ok and help okan@. | ||||
2008-06-05 | prevent trying to exec a null char; could potentially happen with a | okan | -1/+1 | |
canceled or empty searchstr. ok oga@ | ||||
2008-05-23 | Grab the keyboard when we initialise the menu. This stops the keyboard | oga | -0/+5 | |
shortcut code stealing our events in some cases. "put 'er in" okan@. | ||||
2008-05-21 | Make menu_filter handle mouse movement too. This enables the keyboard | oga | -32/+137 | |
search dialogues to be manipulated with the mouse, too. It also allows me to shrink the codebase further by killing grab_menu(). One known issue with highlighting the first entry in a search dialogue, that'll be fixed soonish. ok okan@, tested by Edd Barrett and todd@. | ||||
2008-05-20 | Pull out the behaviour in grab_label and search_start into one utility | oga | -0/+296 | |
function menu_filter(). The plan is to eventually merge in grab_menu too. Shrinks the code a fair bit. Also, change XMaskEvent for XWindowEvent to prevent getting exposes for other windows. This is particuarly noticable on slow machines with a LOT of xterms (todd, you're an odd man). ok okan@, todd@. |