summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2008-06-13Update to rgb 1.0.3Matthieu Herrb
2008-06-13Don't client_delete() on an Unmap event, only do that on a client delete event.Owain Ainsworth
found by (among others) todd@ when you have a lot of clients and do something that maps and umaps a lot of windows fast. Debugged with aid of gdb, todd, okan and NULL pointers in a pizza place in edmonton while waiting an inordinately long time for food. ok okan@, todd@
2008-06-13update to mkfontscale 1.0.5Matthieu Herrb
2008-06-13Update to fstobdf 1.0.3Matthieu Herrb
2008-06-13Update to fslsfonts 1.0.2Matthieu Herrb
2008-06-13Update to fonttosfnt version 1.0.4.Matthieu Herrb
2008-06-12kill another long gone protoOkan Demirmen
2008-06-12remove old (moved) codeOkan Demirmen
ok oga@
2008-06-12instead of forcing the ptr in the middle everytime, be more 'calm'; keepOkan Demirmen
the ptr still unless it moves out-of-bounds, then just follow the edge. brought up by todd@ ok oga@
2008-06-12place the pointer in the middle of the window after resizing with grab,Okan Demirmen
just like keyboard resize. from Edd Barrett ok oga@
2008-06-12ignore if non-zero expose events, for we could be covered by multipleOkan Demirmen
windows; merely an optimization. ok oga@
2008-06-12re-work client_placecalc()Okan Demirmen
- make sure new clients sit inside the current screen - respect 'gap' placement on new clients ok oga@
2008-06-05Enter -> Return, to be consistant and correct.Okan Demirmen
found the hard way by johan and discovered by oga. "do it" oga@
2008-06-05prevent trying to exec a null char; could potentially happen with aOkan Demirmen
canceled or empty searchstr. ok oga@
2008-06-05actually honor termpath and lockpath if specified in cwmrc.Okan Demirmen
"now" oga@
2008-06-03"Meta is a perfectly well defined concept in X (The keys bound to theOkan Demirmen
Meta_L or Meta_R keysysm). no need to redefine it roughly there" - matthieu@
2008-05-23make sure to take bwdith into account when placing a new window.Okan Demirmen
ok oga@
2008-05-23Grab the keyboard when we initialise the menu. This stops the keyboardOwain Ainsworth
shortcut code stealing our events in some cases. "put 'er in" okan@.
2008-05-21Make menu_filter handle mouse movement too. This enables the keyboardOwain Ainsworth
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-20Pull out the behaviour in grab_label and search_start into one utilityOwain Ainsworth
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@.
2008-05-19General cleanup.Owain Ainsworth
ok okan@.
2008-05-19stop normalizing search input; searching and matching are stillOkan Demirmen
case-insensitive. since this was the only use of normalizing input, simplify as well. allows one to exec with mixed case unmatched commands. "works for me" oga@
2008-05-19Function prototypes should not have parameter names in them. These mustOwain Ainsworth
have been missed last time i knfed this. ok okan.
2008-05-19client_cyclenext() -> client_cycle() since we now pass an arg.Okan Demirmen
removes a stray proto as well. discussed with and ok oga@
2008-05-19allow an autogroup value of 0 to mean no group. This means you can setOwain Ainsworth
automatically "sticky" (in the traditional sense of the word) windows in autogroup mode. Based on an initial diff from Andrew Fresh, thanks! ok okan@.
2008-05-19as done with cycle/rcycle, make prev/next group switching one kbfuncsOkan Demirmen
and use a flag; adjusted to match and rename to {r,}cycle. "ok, since i came up with the same thing" oga@
2008-05-19Use the XGrabKeyboard hack in for alt-tabbing as well. This stops theOwain Ainsworth
mru getting the order messed up when gvim/xpdf et all steal key events. While i'm here, change the logic in client_cyclenext() to use break instead of goto, it's nicer that way. Thirdly, instead of two different kbfuncs, just use the one and a flag. "put your cycle diff in so I can pkg_delete gvim" okan@
2008-05-19finally implement keyboard binding for group togglingOkan Demirmen
idea for the "slightly-less-abhorrent-hack-but-a-hack-nonetheless-TM" from oga@ grab and ungrab the keyboard to get around some silly X apps that like stealing events ok oga@
2008-05-18send the correct x/y coordinates to XConfigureWindow()Okan Demirmen
fixes some windows that seem as if they don't fit; noticed by Edd Barrett. ok oga@
2008-05-18remove extra calls to client_draw_border()Okan Demirmen
ok oga@
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