summaryrefslogtreecommitdiff
path: root/app/cwm
AgeCommit message (Collapse)Author
2011-03-22warp the pointer back, iff we don't move the mouse, once we are doneOkan Demirmen
with the menu; idea and initial from Sviatoslav Chagaev. discussion with and ok oga@
2011-03-22we should re-focus the client and ungrab the ptr even if we don't have aOkan Demirmen
mouse based match (i.e. in the kbd no match case). update the comment as well. ok oga@
2011-03-22fix nousance of always highlighting the first entry even when there isOkan Demirmen
no match (seen in the ctrl-a case) ok oga@
2011-03-22move the default case to the end.Okan Demirmen
ok oga@
2011-03-22reduce the number of times we sync during a window resize.Okan Demirmen
ok oga@
2011-03-22introduce nitems macro, with the appropriate ifndef.Okan Demirmen
ok oga@
2011-03-22if virt/horz un-maximizing, restore only the un-maximized axisOkan Demirmen
coordinates; allows moving a client and not restoring the maximized axis coordinates. picked from a larger martynas diff from ages ago. ok oga@
2011-03-22(0,0) is also inside in the screen; from Sviatoslav Chagaev.Okan Demirmen
ok oga@
2011-03-22while this piece deals with client argv's in a seemingly inefficient wayOkan Demirmen
(noticed by Tim Peniket), since we don't ever do anything with cliarg, remove the hunk and cliarg completely. ok oga@
2011-03-22remove XXX and move a configure event out of the event handler functions.Okan Demirmen
reminded by a similiar diff from Thomas Pfaff. ok oga@
2011-03-22move the single keycode function directly into the menu code.Okan Demirmen
ok oga@
2011-03-08xcb is no longer optional.Matthieu Herrb
2011-02-13if we are saving the pointer location for a specific client, make sureOkan Demirmen
that if it is not already inbounds, put it in the default location, which happens to be inbounds. behavior noticed by Thomas Pfaff while maximizing and un-maximizing a window, leaving the pointer behind and causing client_cycle() to be a bit lost. ok oga@
2011-02-13we lose track of highstack somewhere, so recompute it before we need it.Ted Unangst
fixes a crash reported by christian neukirchen. ok okan
2010-12-14in MotionNotify geom.x, geom.y calculations take into account bwidth.Martynas Venckus
fixes the annoying bug where windows would go +bwidth pixels right, +bwidth pixels down. ok okan@
2010-11-27Explicitely link libxcb when needed for static arches.Matthieu Herrb
2010-09-25s/-offset -indent/-offset indent/ for correct indentation,Ingo Schwarze
and properly encode \(:a found by mandoc -Tlint
2010-09-25s/\.Pb/.Pp/ for correct vertical spacing; found by mandoc -TlintIngo Schwarze
2010-09-25do not warp to clients marked 'ignore'; from chneukirchen at gmail - thanks.Okan Demirmen
(with the manpage bit from me). ok oga@
2010-09-25picked a henning diff from src - original log:Okan Demirmen
fix linecount bug with comments spanning multiple lines problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 ok oga@
2010-09-25spacing nitsOkan Demirmen
2010-09-25more clear variable name so than name/class shouldn't be confused again.Okan Demirmen
ok oga@
2010-09-25clarify window name/class a bit more with word ordering.Okan Demirmen
ok oga@
2010-07-30revert -r1.45 of group.c (log was: fix window name and class to matchOkan Demirmen
cwmrc(5)). instead, fix cwmrc(5) to match the old behavior which also happens to match the example config, of which many have based their configs; this also nicely matches the output of xprop(1). clean-up of variable names as a separate commit. suggested by sthen (and something we should have done initially). discussed with and ok oga@
2010-07-23fix backwards example (after r1.45 of group.c); noticed by phessler@Okan Demirmen
ok oga@ phessler@
2010-06-28fix window name and class to match cwmrc(5); from Holger Mikolon - thanks!Okan Demirmen
ok oga@
2010-05-22initialize nitemsOkan Demirmen
ok oga@
2010-05-22replace XFetchName() with something more intelligent which attempts toOkan Demirmen
use the appropriate netwm Atom first, as well as deal with utf8. slightly different incarnation tested by sthen@ and ajacoutot@ - thanks! ok oga@
2010-04-12grab events on the root window *before* we look for existing windows.Owain Ainsworth
This closes a race we were hitting often where stuff started right before cwm may not get noticed and not have borders. ok okan@. Prompted by something todd noticed.
2010-04-11clean up a few xu_* functions to just accept what they need (Window).Okan Demirmen
ok oga@
2010-03-20Fix formatting errors breaking the xenocara mandoc(1) build:Ingo Schwarze
* .Bl may only have .It children * .SH requires an argument * blank lines are illegal outside literal context Now "cd /usr/xenocara && make man" succeeds, but unfortunately, that covers a minority of X11 manuals only. ok matthieu@
2010-02-10preserve labels after an edit action is aborted; extending the menuOkan Demirmen
struct just for this is the least intrusive approach until the menu code is reviewed. inspired by Thomas Pfaff's report on tech@ ok oga@
2010-02-02Honour program-specified window position in size hints when placing windows.Stefan Sperling
Makes XMMS windows appear as expected. ok okan, oga
2010-01-27- allow per-screen gap; not (yet) user configurable.Okan Demirmen
- teach _NET_WORKAREA about gap. ok oga@
2009-12-15pull all non-X11 headers from calmwm.h and place them only where theyOkan Demirmen
are required. encourged to go all the way by oga@
2009-12-15spacingOkan Demirmen
2009-12-15pull these headers only into files that need them.Okan Demirmen
ok oga@
2009-12-15rid ourselves of these functional macros; convert to real functions.Okan Demirmen
ok oga@
2009-12-15mostly irrelevant now, so remove.Okan Demirmen
ok oga@
2009-12-15merge the 2 common header files; specific includes to be pulled out asOkan Demirmen
separate commits. ok oga@
2009-12-14kill _CWM_GRP atom setting. The netwm stuff does us well enough now thatOwain Ainsworth
it's superfluous. ok okan@
2009-12-11add _NET_WORKAREA. for now we ignore the gap, this'll change soonish.Owain Ainsworth
ok okan@
2009-12-11another int/long fixup that was giving dodgy property values on amd64, shame onOwain Ainsworth
me for not reading xlibs (appauling) documentation more closely. ok okan@
2009-12-11implement support for _NET_WM_DESKTOP properties on windows.Owain Ainsworth
it works kinda like _CWM_GRP, which we added to aid restarts a while ago, but it's standardised and clients are specifically allowed to set it to request a desktop. for noe we leave _CWM_GRP support in, but its days are now numbered. while i'm here fixup an int/long mixup with an earlier diff. ok okan@
2009-12-11Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespecOwain Ainsworth
says that a pager can change the property at any time (most need a clientmessage). So deal with property updates. Needed to shuffle some of the other code around since we can't just use shortcut_to_name[] everywhere now. ok okan@
2009-12-10Implement _NET_VIRTUAL_ROOTS (just clear it, we don't use that technique)Owain Ainsworth
and _NET_SHOWING_DESKTOP (we're never doing so right now). only three informational root-window hints to go. ok okan@
2009-12-10Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT andOwain Ainsworth
_NET_DESKTOP_GEOMETRY. ok okan@
2009-12-10finish unfucking the screen_ctx handling.Owain Ainsworth
remove screen_current() it was utterly bogus when nscreens > 1. pass a fake client_ctx in the case where there's no client and the kbfunc or mousefunc doesn't need a real one, it just contains the current screen, modify these functions so that they pass down the screen context to their callees. make groups per screen, it's the only way it makes sense in this regard. ok okan@.
2009-12-08start fixing screen_ctx usage, for it is utterly broken. bring fontOkan Demirmen
into screen_ctx and start passing screen_ctx around to in order get rid of Curscreen; fixup per-screen config colors the same way. diff mostly from oga@, with a bit harsher reaction to the state of screen_ctx. "please commit" oga@
2009-12-07Implement _NET_NUMBER_OF_DESKTOPS, currently this is statically 9 andOwain Ainsworth
unchangable. the group code needs some cleaning up before this will be a bit less hackish. ok okan@