Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make space for window borders | Devin J. Pohly | 2020-04-23 | 1 | -11/+16 |
| | |||||
* | change cursor during move and resize | Devin J. Pohly | 2020-04-23 | 1 | -2/+15 |
| | |||||
* | style in buttonpress | Devin J. Pohly | 2020-04-23 | 1 | -18/+17 |
| | |||||
* | simplify move/resizemouse functions | Devin J. Pohly | 2020-04-23 | 1 | -19/+11 |
| | |||||
* | funnel all resizing through resize() | Devin J. Pohly | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | use exit code macros everywhere | Devin J. Pohly | 2020-04-23 | 1 | -7/+7 |
| | |||||
* | some comments and reminders | Devin J. Pohly | 2020-04-23 | 1 | -3/+5 |
| | |||||
* | factor out renderclients | Devin J. Pohly | 2020-04-23 | 1 | -20/+27 |
| | | | | This will help once we get to implementing layer-shell | ||||
* | don't autoraise | Devin J. Pohly | 2020-04-23 | 1 | -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. | ||||
* | use the focus stack to determine stacking order | Devin J. Pohly | 2020-04-23 | 1 | -4/+4 |
| | | | | Suddenly we have autoraise! | ||||
* | adopt a bit more dwm-like terseness | Devin J. Pohly | 2020-04-23 | 1 | -82/+63 |
| | |||||
* | change focus(NULL, NULL) to mean unfocus | Devin J. Pohly | 2020-04-23 | 1 | -46/+55 |
| | | | | "Focus the most recently focused window on selmon" is now refocus() | ||||
* | implement focusmon and tagmon | Devin J. Pohly | 2020-04-23 | 1 | -0/+52 |
| | |||||
* | focus follows mouse | Devin J. Pohly | 2020-04-23 | 1 | -20/+24 |
| | |||||
* | add incnmaster and setmfact commands | Devin J. Pohly | 2020-04-23 | 1 | -0/+23 |
| | |||||
* | add toggletag and toggleview | Devin J. Pohly | 2020-04-23 | 1 | -0/+27 |
| | |||||
* | don't detect non-visible clients under cursor | Devin J. Pohly | 2020-04-23 | 1 | -0/+3 |
| | |||||
* | add tag and view functions | Devin J. Pohly | 2020-04-23 | 1 | -3/+37 |
| | |||||
* | refocus if focused client is unmapped | Devin J. Pohly | 2020-04-23 | 1 | -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. | ||||
* | implement floating windows | Devin J. Pohly | 2020-04-23 | 1 | -2/+20 |
| | |||||
* | load scaled cursor theme with each output | Devin J. Pohly | 2020-04-23 | 1 | -3/+8 |
| | |||||
* | turn focusnext into dwm's focusstack | Devin J. Pohly | 2020-04-23 | 1 | -9/+18 |
| | |||||
* | restrict focusnext to the same monitor | Devin J. Pohly | 2020-04-23 | 1 | -6/+9 |
| | |||||
* | style | Devin J. Pohly | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | add selclient() helper | Devin J. Pohly | 2020-04-23 | 1 | -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. | ||||
* | continue to focus monitor under mouse cursor | Devin J. Pohly | 2020-04-22 | 1 | -0/+3 |
| | |||||
* | focus monitor under mouse cursor initially | Devin J. Pohly | 2020-04-22 | 1 | -3/+16 |
| | |||||
* | grabbed_client was too long a name | Devin J. Pohly | 2020-04-22 | 1 | -8/+7 |
| | |||||
* | inline moveresize | Devin J. Pohly | 2020-04-22 | 1 | -15/+8 |
| | | | | There were only two lines left in common | ||||
* | grabsx/y are only used by move now | Devin J. Pohly | 2020-04-22 | 1 | -5/+0 |
| | |||||
* | calculate resize based just on cursor/window | Devin J. Pohly | 2020-04-22 | 1 | -12/+2 |
| | | | | This eliminates the need for grab_height and grab_width. | ||||
* | add setlayout function | Devin J. Pohly | 2020-04-22 | 1 | -0/+11 |
| | |||||
* | Don't change tiling order in focusnext() | Devin J. Pohly | 2020-04-22 | 1 | -5/+7 |
| | | | | Use the focus stack instead to determine which client is focused | ||||
* | add separate list of clients for focus order | Devin J. Pohly | 2020-04-22 | 1 | -7/+12 |
| | | | | | Previously, clicking a client to focus it would change where it was in the tiled layout as well. | ||||
* | layouts: tile and floating | Devin J. Pohly | 2020-04-22 | 1 | -3/+96 |
| | | | | Behavior's still a little wonky but positioning is there. | ||||
* | "root" color was easy to make configurable | Devin J. Pohly | 2020-04-21 | 1 | -3/+1 |
| | |||||
* | fix rendering on scaled monitors | Devin J. Pohly | 2020-04-21 | 1 | -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 configuration | Devin J. Pohly | 2020-04-21 | 1 | -1/+14 |
| | | | | (with dwm, this would already have been done by the X server) | ||||
* | no need to manage unmapped clients | Devin J. Pohly | 2020-04-21 | 1 | -11/+4 |
| | | | | is there? | ||||
* | consistent naming for coordinate variables | Devin J. Pohly | 2020-04-21 | 1 | -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 xytoclient | Devin J. Pohly | 2020-04-21 | 1 | -34/+17 |
| | | | | It was a simpler function than it looked | ||||
* | comment updates | Devin J. Pohly | 2020-04-21 | 1 | -9/+10 |
| | |||||
* | split out setup() and run() | Devin J. Pohly | 2020-04-21 | 1 | -127/+142 |
| | |||||
* | cherry-pick 25d0d1b from upstream | Devin J. Pohly | 2020-04-21 | 1 | -6/+6 |
| | |||||
* | inline handlemove/handleresize | Devin J. Pohly | 2020-04-21 | 1 | -26/+12 |
| | |||||
* | render_data only needs coordinates, not Client | Devin J. Pohly | 2020-04-21 | 1 | -4/+4 |
| | |||||
* | abc | Devin J. Pohly | 2020-04-21 | 1 | -44/+44 |
| | |||||
* | give types some more dwm-like typedef names | Devin J. Pohly | 2020-04-21 | 1 | -156/+152 |
| | |||||
* | use expressions in sizeof instead of type names | Devin J. Pohly | 2020-04-21 | 1 | -6/+3 |
| | |||||
* | no longer need resize_edges (always bottom right) | Devin J. Pohly | 2020-04-21 | 1 | -38/+6 |
| | | | | Also gets rid of the clunky move+resize code |