aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2020-04-26linesaver in pointerfocusDevin J. Pohly-15/+12
2020-04-26fix refocus on sendmonDevin J. Pohly-1/+2
2020-04-26make sure windows always overlap with their monitorDevin J. Pohly-4/+29
2020-04-26track window width/heightDevin J. Pohly-14/+18
2020-04-26use wlr_box for monitor regionsDevin J. Pohly-14/+11
2020-04-26save lines in keyboardfocusDevin J. Pohly-13/+10
2020-04-26don't unfocus when mouse leaves a windowDevin J. Pohly-1/+1
2020-04-25fix multi-dpi scalingDevin J. Pohly-0/+4
2020-04-24clarify keyboardfocus vs pointerfocusDevin J. Pohly-80/+76
2020-04-23draw window bordersDevin J. Pohly-0/+18
Works with scaled/rotated displays too!
2020-04-23factor out scalebox()Devin J. Pohly-4/+15
May switch to the version from sway if that seems like a good idea at some point.
2020-04-23note about cursor initDevin J. Pohly-1/+3
2020-04-23configure monitor rotation/reflectionDevin J. Pohly-0/+2
2020-04-23add chvt functionDevin J. Pohly-0/+10
It truly isn't just a window manager anymore :-|
2020-04-23make space for window bordersDevin J. Pohly-11/+16
2020-04-23change cursor during move and resizeDevin J. Pohly-2/+15
2020-04-23style in buttonpressDevin J. Pohly-18/+17
2020-04-23simplify move/resizemouse functionsDevin J. Pohly-19/+11
2020-04-23funnel all resizing through resize()Devin J. Pohly-1/+1
2020-04-23use exit code macros everywhereDevin J. Pohly-7/+7
2020-04-23some comments and remindersDevin J. Pohly-3/+5
2020-04-23factor out renderclientsDevin J. Pohly-20/+27
This will help once we get to implementing layer-shell
2020-04-23don't autoraiseDevin J. Pohly-6/+25
Still raise in buttonpress and focusstack of course. Focus models honestly wouldn't be too hard to make into a config.h option.
2020-04-23use the focus stack to determine stacking orderDevin J. Pohly-4/+4
Suddenly we have autoraise!
2020-04-23adopt a bit more dwm-like tersenessDevin J. Pohly-82/+63
2020-04-23change focus(NULL, NULL) to mean unfocusDevin J. Pohly-46/+55
"Focus the most recently focused window on selmon" is now refocus()
2020-04-23implement focusmon and tagmonDevin J. Pohly-0/+52
2020-04-23focus follows mouseDevin J. Pohly-20/+24
2020-04-23add incnmaster and setmfact commandsDevin J. Pohly-0/+23
2020-04-23add toggletag and toggleviewDevin J. Pohly-0/+27
2020-04-23don't detect non-visible clients under cursorDevin J. Pohly-0/+3
2020-04-23add tag and view functionsDevin J. Pohly-3/+37
2020-04-23refocus if focused client is unmappedDevin J. Pohly-18/+44
focus(NULL, NULL) works like dwm's focus(NULL): focus the most recent visible client on selmon, or clear the existing focus if there are none.
2020-04-23implement floating windowsDevin J. Pohly-2/+20
2020-04-23load scaled cursor theme with each outputDevin J. Pohly-3/+8
2020-04-23turn focusnext into dwm's focusstackDevin J. Pohly-9/+18
2020-04-23restrict focusnext to the same monitorDevin J. Pohly-6/+9
2020-04-23styleDevin J. Pohly-1/+1
2020-04-23add selclient() helperDevin J. Pohly-8/+16
This may get inlined later, but it's nice for now. The focused client if any should always be both at the top of fstack and visible on selmon.
2020-04-22continue to focus monitor under mouse cursorDevin J. Pohly-0/+3
2020-04-22focus monitor under mouse cursor initiallyDevin J. Pohly-3/+16
2020-04-22grabbed_client was too long a nameDevin J. Pohly-8/+7
2020-04-22inline moveresizeDevin J. Pohly-15/+8
There were only two lines left in common
2020-04-22grabsx/y are only used by move nowDevin J. Pohly-5/+0
2020-04-22calculate resize based just on cursor/windowDevin J. Pohly-12/+2
This eliminates the need for grab_height and grab_width.
2020-04-22add setlayout functionDevin J. Pohly-0/+11
2020-04-22Don't change tiling order in focusnext()Devin J. Pohly-5/+7
Use the focus stack instead to determine which client is focused
2020-04-22add separate list of clients for focus orderDevin J. Pohly-7/+12
Previously, clicking a client to focus it would change where it was in the tiled layout as well.
2020-04-22layouts: tile and floatingDevin J. Pohly-3/+96
Behavior's still a little wonky but positioning is there.
2020-04-21"root" color was easy to make configurableDevin J. Pohly-3/+1