aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2020-04-22set normal and dwm-like defaults in config.def.hDevin J. Pohly-13/+12
2020-04-22move config.h to config.def.hDevin J. Pohly-0/+3
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 TinyWL and dwm LICENSE filesDevin J. Pohly-0/+168
Credit where credit is due - dwl started with TinyWL and will be including more bits of dwm code as it grows
2020-04-22add setlayout functionDevin J. Pohly-0/+13
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-9/+109
Behavior's still a little wonky but positioning is there.
2020-04-21"root" color was easy to make configurableDevin J. Pohly-3/+4
2020-04-21fix rendering on scaled monitorsDevin J. Pohly-4/+1
I have no idea why this takes the raw unscaled resolution, and then we have to multiply by the scale *again* in render(), but that's life.
2020-04-21introduce rules for monitor configurationDevin J. Pohly-1/+25
(with dwm, this would already have been done by the X server)
2020-04-21no need to manage unmapped clientsDevin J. Pohly-11/+4
is there?
2020-04-21consistent naming for coordinate variablesDevin J. Pohly-26/+26
x and y are reserved (inasmuch as it's dwl's choice) for coordinates relative to the layout. ox and oy are used for output-relative coordinates. sx and sy are surface-relative. dx and dy are deltas. figuring this out the first time was kind of a Thing... just don't pay attention to what happens in render and you should be fine.
2020-04-21inline xytosurface in xytoclientDevin J. Pohly-34/+17
It was a simpler function than it looked
2020-04-21comment updatesDevin J. Pohly-9/+10
2020-04-21split out setup() and run()Devin J. Pohly-127/+142
2020-04-21cherry-pick 25d0d1b from upstreamDevin J. Pohly-6/+6
2020-04-21inline handlemove/handleresizeDevin J. Pohly-26/+12
2020-04-21render_data only needs coordinates, not ClientDevin J. Pohly-4/+4
2020-04-21abcDevin J. Pohly-44/+44
2020-04-21give types some more dwm-like typedef namesDevin J. Pohly-156/+152
2020-04-21use expressions in sizeof instead of type namesDevin J. Pohly-6/+3
2020-04-21no longer need resize_edges (always bottom right)Devin J. Pohly-38/+6
Also gets rid of the clunky move+resize code
2020-04-21ditch the moverequest/resizerequest xdg stuffDevin J. Pohly-34/+0
dear window, you are not the window manager
2020-04-21No need for struct dwl_serverDevin J. Pohly-146/+135
the only use was to hold global state, which is now actually global
2020-04-21make server a globalDevin J. Pohly-132/+105
dwm isn't afraid of global variables
2020-04-21dwm-style enumDevin J. Pohly-17/+13
2020-04-21alphabetize functionsDevin J. Pohly-454/+488
2020-04-21functions: dwm style and more dwm-like namesDevin J. Pohly-85/+142
2020-04-12add spawn and termcmdDevin J. Pohly-2/+17
2020-04-11treat startup command as long-runningDevin J. Pohly-1/+18
Not quite a perfect mirror of xinit, where the startup command execs the window manager, and the termination of that process brings down the windowing system, but it might be the Wayland analogue.
2020-04-11add *.o to ignoreDevin J. Pohly-0/+1
2020-04-11fix typo in commentDevin J. Pohly-1/+1
2020-04-11implement Button: movemouse, resizemouseDevin J. Pohly-0/+52
2020-04-11make Makefile a bit more my styleDevin J. Pohly-12/+15
2020-04-11add CLEANMASK like dwmDevin J. Pohly-1/+4
2020-04-11make key mappings configurable in config.hDevin J. Pohly-10/+9
2020-04-11start factoring Key actions into functionsDevin J. Pohly-21/+50
2020-04-11some options I likeDevin J. Pohly-1/+1
2020-04-11Start with tinywlDevin J. Pohly-0/+1731
Add a config.h into which configurables can be moved.