aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* move XUngrabServer to the end of client_new() to avoid races where clients,okan2013-04-03-4/+4
| | | | | | | | such as those using sdl, attempt to manage the clients themselves when the clients aren't fully ready. other wm's grab the xserver during the whole client setup process, so match. behavior found by jsg.
* replace handrolled for loop with TAILQ_FOREACH; from andres.p@zoho.comokan2013-03-09-4/+3
|
* put back r1.68 which allows an empty group to be sticky; behaviorokan2013-01-13-2/+6
| | | | | | change noticed by Thomas Pfaff and diagnosis why we need to group_setactive in this case by Alexander Polakov. replace XXX with a useful comment.
* set the initial group to '1', missed by recent off-by-one groupokan2013-01-10-2/+2
| | | | | | numbering re-work; discovered the hard way by sthen@. ok sthen@
* add per-group vert/horiz tiling support; introduces 2 new bind commands,okan2013-01-08-6/+154
| | | | 'vtile' and 'htile'; from Alexander Polakov.
* teach screen_find_xinerama() about gap and adjust (simplify) callers;okan2013-01-08-29/+18
| | | | menu becomes gap-aware for free.
* fix menu/client placement in panning setups; XineramaQueryScreens givesokan2013-01-07-2/+6
| | | | | us the width of the psuedo screen, but here we need the edge instead (xmax/ymax); just re-use w/h here for now.
* revert previousokan2013-01-07-3/+3
|
* unbreak xinerama support from r1.41 for panning setupsokan2013-01-07-3/+3
|
* use cc->bwidth in client_vmax since we've yet to reset it (matchesokan2013-01-06-2/+2
| | | | client_hmax); from Jan Stary
* rename {h,v}max functions for consistency; from Jan Staryokan2013-01-04-9/+9
|
* really these are just border colors, so adjust the defineokan2013-01-04-11/+11
|
* spacingokan2013-01-04-9/+9
|
* get rid of struct colorokan2013-01-04-32/+27
|
* pass the screen workarea, as opposed to viewarea, allowing clientokan2013-01-02-6/+6
| | | | snapping to honor gap.
* re-work client_snapcalc() so it takes client and edge dimensions withokan2013-01-02-19/+17
| | | | | | snapdist; allows for simplier snap calculations. required for an upcoming diff for honoring gap.
* merge in Xinerama screen query; no functional change.okan2013-01-02-23/+11
|
* have screen_find_xinerama() return struct geom *reliably* instead ofokan2013-01-02-97/+56
| | | | XineramaScreenInfo; simplifies goop around the callers.
* more variable consistencyokan2013-01-02-32/+32
|
* info->xine, for consistent variable namesokan2013-01-02-8/+8
|
* after we toggle a group hidden, it makes no sense to set it as activeokan2013-01-01-6/+2
| | | | | | | | (in sticky or non-stick mode), regardless of existing clients assigned to that group; oga marked this bit XXX in -r1.34 for it didn't seem make sense then either. pulled from a diff from from Alexander Polakov.
* least intrusive way to plug a memleak when unbinding a duplicate key forokan2013-01-01-3/+10
| | | | kbfunc_cmdexec; from Tiago Cunha
* replace emptystring with strdup here as well so we know we are free'ingokan2013-01-01-7/+4
| | | | a malloc'd variable everytime; from Tiago Cunha
* make num of groups no longer off-by-one; from Alexander Polakovokan2013-01-01-18/+16
| | | | | | note that a re-exec of cwm will not rewrite the group number atom of *existing* clients, so they will remain off-by-one until each client has its atom updated, or of course a restart of X.
* gc unused cmd 'flags' variableokan2012-12-19-8/+6
|
* expand CHILDMASKokan2012-12-18-5/+5
|
* use MOUSEMASK since we already have itokan2012-12-18-5/+3
|
* remove unused SEARCHMASKokan2012-12-18-2/+1
|
* define LockMask|Mod2Mask; no functional changeokan2012-12-18-6/+5
|
* simplify config file setup; with Tiago Cunhaokan2012-12-18-36/+23
|
* put a default known_hosts into confokan2012-12-17-10/+11
|
* pull user home directory via getenv or getpwuid and stash it so we don'tokan2012-12-17-14/+19
| | | | need to do this everytime; with Tiago Cunha
* cmap -> colormap in client_ctxokan2012-12-17-5/+5
|
* stash the default screen visual and colormap in screen_ctxokan2012-12-17-13/+14
|
* replace client highlight with a client flagokan2012-12-17-16/+13
|
* make client_mtf staticokan2012-12-17-6/+4
|
* create and use menuq_clear() helper; from Tiago Cunhaokan2012-12-17-39/+26
|
* current_client() returns _curcc, so use it where appropriateokan2012-12-17-7/+7
|
* screen font -> xftfontokan2012-12-17-10/+10
|
* knfokan2012-12-17-31/+34
|
* non-trivial menu drawing rewrite, moving to Xft and solving variousokan2012-12-17-72/+140
| | | | font/color drawing issues; from Alexander Polakov
* zap extra linesokan2012-11-29-3/+1
|
* specific last match for autogroup; few iterations with Kent Spillner.okan2012-11-29-9/+12
|
* x_setupscreen -> screen_init; no functional change.okan2012-11-29-60/+59
|
* remove dead externokan2012-11-29-2/+2
|
* add xasprintf() for upcoming changes.okan2012-11-28-2/+21
|
* ever since the 9wm code bits were removed or replaced, this file hasokan2012-11-28-14/+0
| | | | | | been a no-op, for each source file has a complete license marker (ISC). no objections from oga, who did the 9wm rewrite/remove work in 2008.
* replace hand rolled font_make() with XftFontOpenName() and merge intookan2012-11-28-26/+11
| | | | font_init().
* add some checksokan2012-11-16-1/+8
|
* variable name consistency; from Thomas Pfaffokan2012-11-14-20/+18
|