summaryrefslogtreecommitdiff
path: root/app/cwm
AgeCommit message (Collapse)Author
2011-12-29check if we're in the group already, else multiple calls toOkan Demirmen
group_movetogroup() on one client will still increment nhidden if the group is hidden. found the hard way by Thomas Jeunet and fix from Alexander Polakov - thanks to both! ok oga@
2011-11-06put snapdist in the correct location; as an option, not a bind; Tiago Cunha.Okan Demirmen
ok oga@
2011-10-17rename variable to reduce potential for name-space collision.Okan Demirmen
bikesheding and ok oga@.
2011-10-12use xfree instead of free since strings is allocated with xmalloc; fromOkan Demirmen
dhill ok oga@
2011-09-19move client to group (movetogroup) and hide client only if group isOkan Demirmen
already hidden (suggested behavior from Alexander Polakov). ok sthen oga
2011-09-13fix spelling I keep getting wrong for some unknown reason; found by andOkan Demirmen
diff from Alexander Polakov.
2011-09-13add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such toOkan Demirmen
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-13repair groupcycle (broke after cycle-in-group support added more flags);Okan Demirmen
found by and fix from Thomas Pfaff. ok oga@
2011-09-08allow configurable menu font color; from Alexander Polakov with a tweakOkan Demirmen
from me. ok oga@
2011-09-08allow menufg/menubg to be configurable; from Alexander Polakov.Okan Demirmen
ok oga@
2011-09-08reinit menu on reload; from Alexander Polakov. needed for catchingOkan Demirmen
upcoming menu config changes. ok oga@
2011-09-05restore a comment and add another for clarity.Okan Demirmen
2011-09-04Make flavours of maximisation additive.Owain Ainsworth
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 Demirmen
around when dealing with {,h,v}max. same idea from oga.
2011-09-03simplify color initialization.Okan Demirmen
ok oga@
2011-09-03Add {r,}cycleingroup to cycle through clients belonging to the sameOkan Demirmen
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 Demirmen
applies to the user supplied font, so rename. ok oga@
2011-08-29zap unused macro. ok oga@Okan Demirmen
2011-08-29restore mouse move via the keyboard, noticed by todd@. while the checkOkan Demirmen
for cc was wrong due to the fact that cc->sc is always filled in during the event, we don't even need it - just operate on the focused screen's root window regardless. ok todd@ oga@
2011-08-22A while ago I wrote some code to not warp to ignored windows on map (revOwain Ainsworth
1.52), not realising that the previous (less efficient) fix had already been commited (rev 1.50). Had this in my tree for ages to remove the previous code. Effectively reverts rev 1.50. ok okan@
2011-08-22revert r1.11 of parse.y and create logic in conf_setup instead to dealOkan Demirmen
with the various scenarios of when to attempt a parse of the config, load defaults, and when to warn and/or exit. triggered by bogus warning first noticed by sobrado@. ok oga@
2011-07-26Re-draw borders after reloading, not before; from Alexander Polakov.Okan Demirmen
ok oga@
2011-07-25use the menu border; from Alexander Polakov, but with the existing define.Okan Demirmen
ok oga@
2011-07-25We are inconsistent when it comes to function returns, so just go allOkan Demirmen
the way with the cwm specific parts. ok oga@
2011-07-23Clarify defines and make them not look like non-local ones; started by aOkan Demirmen
small diff from Thomas Pfaff. ok oga@
2011-07-14correct spelling; from Alexander Polakov.Okan Demirmen
2011-06-27UTF8-ify, from Alexander Polakov, but without setlocale(), afterOkan Demirmen
feedback from stsp@ - thanks! 'go for it' oga@
2011-06-25warn if we can't parse the config file on start, just like we do on reload.Okan Demirmen
part of a larger diff that was ok oga@
2011-06-25Since cwm(1) uses the same parser as others in src, document howOkan Demirmen
comments and line extensions work. Taken from sthen@'s recent commit in src. ok sthen@
2011-06-24add 'normal' cursor and shuffle the others we use to make a bit moreOkan Demirmen
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 Demirmen
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 Demirmen
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 Demirmen
as a bonus, flipping between various combinations of vmax+hmax provides a more predictable behavior. commitski oga@
2011-06-24replace the non-working check to see if another wm is running with aOkan Demirmen
method that actually works. checking for icccm compliant wm's should also be done first, but that's another diff (noted by oga). ok oga@
2011-06-24more nitems usage.Okan Demirmen
ok oga@
2011-06-24re-order sweep draw so that we map into the client window afterOkan Demirmen
re-parenting; from Sviatoslav Chagaev. ok oga@
2011-06-24struct XftFont already has height which we can use directly instead ofOkan Demirmen
calculating ourselves, so do so. ok oga@
2011-06-24alter a few function returns and prototypes; found by lint.Okan Demirmen
ok oga@
2011-06-24Correct extern declaration and while here, rename a variable to beOkan Demirmen
pedantic. from Thomas Pfaff. ok oga@
2011-06-24collapse client and group {r,}cycle defines since they are reallyOkan Demirmen
the same thing. ok oga@
2011-06-23switch to installing source manuals:Christian Weisgerber
* cope with new bsd.man.mk * update imake configuration ports use of imake remains unchanged
2011-05-15fix botched client and group cycle defines; noticed by Thomas Pfaff.Okan Demirmen
"no cookie! fix it" - oga@
2011-05-13remove left over XSync; ok oga@Okan Demirmen
2011-05-11tag and comment cleanup; ok oga@Okan Demirmen
2011-05-07introduce a new 'freeze' flag (CMS-f by default) which may be applied toOkan Demirmen
any window, after which all move/resize requests will be ignored, essentially freezing the window in place. there's a possibility to merge this with the 'ignore' concept, pending on how ignore+freeze should behave (really more ewmh stuff), but punting for now since ponies are on the line. requested and tested by thib at k2k11 with ponies, unicorns and rainbows. 'save the unicorns' todd@, ok oga@
2011-05-06On map, don't warp to windows that are marked as ignored.Owain Ainsworth
Requested by Christian Neukirchen last august. He provided a patch but the one I wrote was significantly simpler (1 - 2 + in the whole diff). makes sense to okan@.
2011-05-05bump window resize back to 60hz. instead, we should not need to syncOkan Demirmen
every time we move/resize a window, so remove XSync in both mouse move and resize events. tested by Brynet as well. ok oga@
2011-05-05re-org. ok oga@Okan Demirmen
2011-05-05make the menu window aware of xinerama info; this makes the menu stayOkan Demirmen
within the current screen, like other cwm window placements and mutations (vmax/hmax/max) - from Sviatoslav Chagaev. ok oga@
2011-03-23revert the XSync timing change for client move only; first noticed byOkan Demirmen
brynet. sure oga@