aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h (unfollow)
Commit message (Collapse)AuthorLines
2012-12-18use MOUSEMASK since we already have itokan-5/+3
2012-12-18remove unused SEARCHMASKokan-2/+1
2012-12-18define LockMask|Mod2Mask; no functional changeokan-1/+2
2012-12-18simplify config file setup; with Tiago Cunhaokan-2/+1
2012-12-17put a default known_hosts into confokan-1/+2
2012-12-17pull user home directory via getenv or getpwuid and stash it so we don'tokan-1/+2
need to do this everytime; with Tiago Cunha
2012-12-17cmap -> colormap in client_ctxokan-2/+2
2012-12-17stash the default screen visual and colormap in screen_ctxokan-1/+3
2012-12-17replace client highlight with a client flagokan-4/+4
2012-12-17make client_mtf staticokan-2/+1
2012-12-17create and use menuq_clear() helper; from Tiago Cunhaokan-1/+2
2012-12-17screen font -> xftfontokan-2/+2
2012-12-17knfokan-7/+9
2012-12-17non-trivial menu drawing rewrite, moving to Xft and solving variousokan-8/+14
font/color drawing issues; from Alexander Polakov
2012-11-29x_setupscreen -> screen_init; no functional change.okan-1/+2
2012-11-29remove dead externokan-2/+2
2012-11-28add xasprintf() for upcoming changes.okan-1/+4
2012-11-28replace hand rolled font_make() with XftFontOpenName() and merge intookan-3/+3
font_init().
2012-11-08fix some warnings; inspired by a diff from Thordur Bjornsson.okan-2/+2
2012-11-07get rid of the xfree() wrapper around free(); from Tiago Cunha.okan-2/+1
2012-11-07spacingokan-3/+3
2012-11-07tab completion support for menus; from Alexander Polakov.okan-2/+10
ok sthen@ on an older incarnation
2012-10-31no longer a reason to carry conf_path in struct conf, so dice.okan-2/+1
2012-10-31replace 'reload' with 'restart', which merely re-exec's cwm using theokan-4/+2
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
2012-09-09extend client_resize so that it can know when to reset max flags andokan-2/+2
bwidth; this allows a client to be resized from a max state, which now gets treated like a non-max'd client. based on a diff that does part of this in a different way from Alexander Polakov.
2012-07-13re-use geom struct in client_ctx (saved)geometry.okan-7/+2
2012-07-13convert xmax/ymax uses to view geometry.okan-3/+1
2012-07-13introduce screen "view" area and "work" area (gap applied) to simplifyokan-1/+10
various blocks that require understanding the screen geometry.
2012-07-06querying for Xinerama should be done per display, not per screen, sookan-2/+1
move chuck to display init; allows some shuffling to occur limiting screen_init_xinerama()'s scope while keeping order intact.
2012-07-05the display's width and height are updated after an XRandR event so weokan-2/+2
don't need to pass down the new values to screen_update_geometry(); so just read the width/height values directly for both uses of screen_update_geometry(). prep for further changes in this area.
2012-07-03re-implement atom handing; makes for a normalized and more consistentokan-30/+46
separation between cwm and ewmh. seen by a few.
2012-05-16instead of using the menu window for _NET_SUPPORTING_WM_CHECK, create aokan-2/+4
dummy one to use instead; allows us to not have to wait for menu_init(), so re-shuffle _NET_SUPPORTED slightly. ok sthen@
2012-05-16cycle through other common cycling modifiers; based on a diff fromokan-1/+2
Alexander Polakov. ok sthen@
2012-05-16convert from deprecated XKeycodeToKeysym to XkbKeycodeToKeysymokan-1/+2
ok sthen@
2012-05-13altpersist->cycling to be more clear that this is for cycling modokan-2/+2
persistence; based on a diff from Alexander Polakov, in preparation for looping through other potential cycling modifiers.
2011-09-13add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such tookan-1/+2
the group of the main application window; based on a diff from Alexander Polakov with CLIENT_IGNORE flag suggestion from oga@. ok oga@
2011-09-08allow configurable menu font color; from Alexander Polakov with a tweakokan-2/+3
from me. ok oga@
2011-09-04Make flavours of maximisation additive.oga-5/+7
i.e. horiz-max + vertmax = full maximisation. full - horiz = vertmax. etc. Martynas wrote something like this once, so I did okan, this version seems to finally deal with the corner cases. ok okan@.
2011-09-03split off window hints from geometry so we don't need to carry them allokan-2/+4
around when dealing with {,h,v}max. same idea from oga.
2011-09-03simplify color initialization.okan-8/+2
ok oga@
2011-09-03Add {r,}cycleingroup to cycle through clients belonging to the sameokan-3/+4
group as the active client (as opposed to all unhidden clients); from Alexander Polakov, with a tiny tweak requested by oga. ok oga@
2011-09-03"defaultfont" is unclear (and confusing while reading code) when it alsookan-3/+3
applies to the user supplied font, so rename. ok oga@
2011-07-23Clarify defines and make them not look like non-local ones; started by aokan-8/+8
small diff from Thomas Pfaff. ok oga@
2011-07-14correct spelling; from Alexander Polakov.okan-2/+2
2011-06-24add 'normal' cursor and shuffle the others we use to make a bit moreokan-4/+4
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-06-24New option to raise a client via the mouse (unbound by default);okan-1/+2
opposing action, lower, already exists and bound. Both keyboard mappings already exist. 'no opinion either way' oga@
2011-06-24introduce a new config option to snap to the screen edge. 'snapdist'okan-1/+4
keyword taken from a diff from Sviatoslav Chagaev to do the same thing, but implemented in a completely way (based on some very old code from mk@). default set to 0, so no behavior change. ok oga@ (who would also like to take it further...)
2011-06-24re-do various bits of {,h,v}max for simplicity and less flag handling.okan-8/+5
as a bonus, flipping between various combinations of vmax+hmax provides a more predictable behavior. commitski oga@
2011-06-24struct XftFont already has height which we can use directly instead ofokan-2/+1
calculating ourselves, so do so. ok oga@
2011-06-24alter a few function returns and prototypes; found by lint.okan-4/+4
ok oga@