summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2008-05-18fix backwards logic in example; found by oga@Okan Demirmen
2008-05-18Fix two problems with conf_unbind():Owain Ainsworth
1) it used TAILQ_FOREACH() when it's removing entrys from the list, this is bad. 2) We didn't free key, so there was a small memleak too. also rework conf_bindname's logic slightly to be more simple. ok okan@
2008-05-18Kill conf_get_int(), it was a silly function anyway.Owain Ainsworth
Since it's only used once just put the (simplified) logic into conf_client() instead. This means we can kill an enum and CONF_IGNORECASE, too. ok okan@
2008-05-18group_ctx->name is only used in this one function, and for now itOwain Ainsworth
corresponds directly to the static list of group names. Just use the static list and stop strdup()ing a new version for the context struct. Since that never got freed this also fixes a small memleak. Kill some unused variables while i'm here. ok okan@
2008-05-18When we're cleaning out the lists in parse_config and conf_clear it's aOwain Ainsworth
lot simpler just to do while (entry = TAILQ_FIRST(head)) than to do a for () over the whole lot. Simpler, shorter and probably faster. ok okan@
2008-05-18- re-order and mostly re-write cwmrc(5)Okan Demirmen
- merge example config file into cwmrc(5) and remove (little good in here) feedback from jmc@ - thanks! ok simon@
2008-05-17fix cwm's current XShape support from Edd Barrett -thanks.Okan Demirmen
XShape events should be handled at some point. ok oga@
2008-05-15KNF, no binary change.Owain Ainsworth
From Pierre Riteau. Thanks!
2008-05-15tiny bit of knfOkan Demirmen
ok oga@
2008-05-11Explicitly disable rplay. Found by mbalmer@Matthieu Herrb
2008-05-06Signal handler of SIGCHLD calls waitpid() which sets errno on error. ToTobias Stoeckmann
avoid clubbering of errno in normal context, save_errno got introduced. ok oga
2008-05-01Rework the alt-tabbing code to be a lot simpler.Owain Ainsworth
Diff mostly from Edd Barrett, with some minor changes from me. Unfortunately the issue where apps like gvim and xpdf are stealing keyrelease events causing the ordering to be messed up, but this is a lot better. A fix for the aforementioned issue shall be forthcoming, once a good one's been found. ok okan@, also tested by todd@
2008-04-29Allow slashes in unquoted strings.Simon Bertrang
From Pierre Riteau Makes sense to oga@
2008-04-28nits from Pierre Riteau - thanks!Okan Demirmen
ok oga@
2008-04-21Add 2 files added with 1.0.4.Matthieu Herrb
2008-04-20Update to xset 1.0.4Matthieu Herrb
2008-04-20update to xrdb 1.0.5Matthieu Herrb
2008-04-20Update to xprop 1.0.4Matthieu Herrb
2008-04-20Update to xkbcomp 1.0.4Matthieu Herrb
2008-04-20Update to xinit-1.0.8, while preserving local changes.Matthieu Herrb
2008-04-20Get rid of the Xwrapper hack. OpenBSD doesn't support XFree86 3.3.x anymore.Matthieu Herrb
2008-04-19update to xev 1.0.3Matthieu Herrb
2008-04-19update to xdm-1.1.7 (No changes on OpenBSD).Matthieu Herrb
2008-04-19update to x11perf 1.5Matthieu Herrb
2008-04-19update to twm 1.0.4Matthieu Herrb
2008-04-19Update to xrandr 1.2.3.Matthieu Herrb
2008-04-16merge kbfunc_{ptrmove,client_{move,resize}} into one function that takes a flag,Owain Ainsworth
this code was almost identical... ok okan.
2008-04-16remove infowin. It slipped out of the last commit, for some reason.Owain Ainsworth
2008-04-16Replace a few leftover calls to strdup and calloc with xstrdup and xcallocOwain Ainsworth
respectively. ok okan.
2008-04-16Remove screen_infomsg(), nothing uses it.Owain Ainsworth
ok okan.
2008-04-16kill an unused struct member.Owain Ainsworth
ok okan
2008-04-15make the argument parser for commands accept quoted strings, while i'mOwain Ainsworth
there make u_spawn use exec_wm (renamed to u_exec) for it's execution to remove duplicated code. This means constructs like this work in .cwmrc: bind CM-t "ssh -Y 192.168.1.2 \"xterm -e top\"" or alternatively: bind CM-t "ssh -Y 192.168.1.2 'xterm -e top'" "in it goes" okan@.
2008-04-15Kill dirent_isdir() and dirent_islink() nothing used them since the newOwain Ainsworth
parser went in. ok okan.
2008-04-15hit it with the knf stick.Owain Ainsworth
2008-04-15Add "gap" support to .cwmrc. The options put in here make gaps on the edgeOwain Ainsworth
of the screen where an application won't be {,vert}maximized over. used for placing a statusbar or something like xclock. Patch from Edd Barrett, with input from myself and okan. Thanks! ok okan@.
2008-04-15- add vi keybindings to searchOkan Demirmen
- allow for ctrl-h as well discussion with and ok oga@
2008-04-15malloc -> callocOkan Demirmen
suggested by and ok oga@
2008-04-12regenMatthieu Herrb
2008-04-12regenMatthieu Herrb
2008-04-12mkfontdir 1.0.4Matthieu Herrb
2008-04-09remove alt-tab menuOkan Demirmen
discussed with a few ok oga@
2008-04-08No cookie for okan.Owain Ainsworth
fix use-after-free that broke exec's path getting stuff. ``paths'' isn't used anymore, but pointers to within that array are still used in the next loop. delay freeing it until after then.
2008-04-08better 'quit' keybinding default (CMS-q)Okan Demirmen
feedback from oga@ and simon@ ok oga@ simon@
2008-04-08Make _xev_quit "volatile sig_atomic_t" for proper correctness.Simon Bertrang
Noticed by oga@, thanks!
2008-04-07Add quit function, bind it per default to CM-q and change exec_wmSimon Bertrang
binding to CM-w. Inital diff from Gleydson Soares Feedback from oga@ and okan@ ok oga@
2008-04-05- use $PATH before _PATH_DEFPATH, from Tim van der MolenOkan Demirmen
- plug leak, noticed by oga feedback and ok oga@
2008-04-03Sync usage() with reality and manpage.Simon Bertrang
"ok, but no cookie" oga@
2008-04-02Clear the password as early as possible in the BSD auth case. ok deraadt@Matthieu Herrb
2008-03-26Fix a couple of issues with the maximization code.Owain Ainsworth
If a window is vertically maximized, then resized, before the MAXIMIZED flag wasn't removed, now it is. so doing a resize then does the right thing. Also, separate flags are needed for vertical and normal maximziation, else when you do vertical-maximize, followed by maximize, the window returns to it's original size. ok simon@, okan@
2008-03-25Introduce bsd.xconf.mk to set default config variables usedMatthieu Herrb
at several places in the Xenocara build in a central place instead of duplicating the checks all over the place. ok oga@.