aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix rendering on scaled monitorsDevin J. Pohly2020-04-211-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.
* introduce rules for monitor configurationDevin J. Pohly2020-04-212-1/+25
| | | | (with dwm, this would already have been done by the X server)
* no need to manage unmapped clientsDevin J. Pohly2020-04-211-11/+4
| | | | is there?
* consistent naming for coordinate variablesDevin J. Pohly2020-04-211-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.
* inline xytosurface in xytoclientDevin J. Pohly2020-04-211-34/+17
| | | | It was a simpler function than it looked
* comment updatesDevin J. Pohly2020-04-211-9/+10
|
* split out setup() and run()Devin J. Pohly2020-04-211-127/+142
|
* cherry-pick 25d0d1b from upstreamDevin J. Pohly2020-04-211-6/+6
|
* inline handlemove/handleresizeDevin J. Pohly2020-04-211-26/+12
|
* render_data only needs coordinates, not ClientDevin J. Pohly2020-04-211-4/+4
|
* abcDevin J. Pohly2020-04-211-44/+44
|
* give types some more dwm-like typedef namesDevin J. Pohly2020-04-211-156/+152
|
* use expressions in sizeof instead of type namesDevin J. Pohly2020-04-211-6/+3
|
* no longer need resize_edges (always bottom right)Devin J. Pohly2020-04-211-38/+6
| | | | Also gets rid of the clunky move+resize code
* ditch the moverequest/resizerequest xdg stuffDevin J. Pohly2020-04-211-34/+0
| | | | dear window, you are not the window manager
* No need for struct dwl_serverDevin J. Pohly2020-04-211-146/+135
| | | | the only use was to hold global state, which is now actually global
* make server a globalDevin J. Pohly2020-04-211-132/+105
| | | | dwm isn't afraid of global variables
* dwm-style enumDevin J. Pohly2020-04-211-17/+13
|
* alphabetize functionsDevin J. Pohly2020-04-211-454/+488
|
* functions: dwm style and more dwm-like namesDevin J. Pohly2020-04-211-85/+142
|
* add spawn and termcmdDevin J. Pohly2020-04-122-2/+17
|
* treat startup command as long-runningDevin J. Pohly2020-04-111-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.
* add *.o to ignoreDevin J. Pohly2020-04-111-0/+1
|
* fix typo in commentDevin J. Pohly2020-04-111-1/+1
|
* implement Button: movemouse, resizemouseDevin J. Pohly2020-04-112-0/+52
|
* make Makefile a bit more my styleDevin J. Pohly2020-04-111-12/+15
|
* add CLEANMASK like dwmDevin J. Pohly2020-04-111-1/+4
|
* make key mappings configurable in config.hDevin J. Pohly2020-04-111-10/+9
|
* start factoring Key actions into functionsDevin J. Pohly2020-04-112-21/+50
|
* some options I likeDevin J. Pohly2020-04-111-1/+1
|
* Start with tinywlDevin J. Pohly2020-04-116-0/+1731
Add a config.h into which configurables can be moved.