aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add some explanation of output reconfigurationDevin J. Pohly2021-01-181-0/+13
| | | | Hopefully this will help "future us" understand what's going on.
* remove hacky code from output-management handlerDevin J. Pohly2021-01-181-11/+3
| | | | | This functionality belongs in updatemons(), where it can hopefully be written a bit more elegantly.
* commit entire output config, or fail and rollbackDevin J. Pohly2021-01-181-5/+8
| | | | | | | | | | | The wlr-output-management protocol requires that either all of the changes from an apply request be applied successfully, in which case a "succeeded" event is sent, or all of the changes are reverted and a "failed" event is sent. As written, this could partially commit changes, then fail. Test the changes first (even for an "apply" event), then commit or rollback as appropriate.
* Merge pull request #71 from djpohly/output-layoutDevin J. Pohly2021-01-181-8/+6
|\ | | | | call updatemons at the appropriate times
| * use updatemons as handler for output_layout.changeDevin J. Pohly2021-01-181-8/+6
|/ | | | | This should end up firing precisely when we need to adjust our geometry, rather than us guessing about it based on requests.
* remember to add client.h in MakefileDevin J. Pohly2021-01-181-1/+1
|
* unify increment style while we're hereDevin J. Pohly2021-01-181-3/+3
|
* remove unnecessary variableDevin J. Pohly2021-01-181-2/+1
|
* cleanup on aisle createmon()Devin J. Pohly2021-01-181-15/+12
|
* Merge pull request #84 from meutraa/gitignore-config-hDevin J. Pohly2021-01-141-0/+1
|\ | | | | Add config.h to .gitignore
| * Add config.h to .gitignoremeutraa2021-01-131-0/+1
| |
* | Merge pull request #80 from sam-barr/dwl_upstreamDevin J. Pohly2021-01-141-2/+4
|\ \ | | | | | | Fix Initialization of NetWM Atoms
| * | Fix Initialization of NetWM Atomssam-barr2021-01-111-2/+4
| |/ | | | | | | | | | | Additionally, variables xcursor and xcursor_mgr are only used when xwayland is defined, so I make the variables declaration contingent on whether xwayland is being used
* | Merge pull request #77 from djpohly/use-output-directionDevin J. Pohly2021-01-142-32/+17
|\ \ | | | | | | Determine monitor order spatially
| * | remove now-unneeded monitor position fieldDevin J. Pohly2021-01-061-12/+1
| | |
| * | use output layout for dirtomonDevin J. Pohly2021-01-062-20/+16
| |/ | | | | | | | | No need to track our own order; wlroots has a reasonable default for us already.
* / update layer-shell protocol to version 4Devin J. Pohly2021-01-131-9/+88
|/ | | | Tracking with breaking change from swaywm/wlroots@b7dc4f2.
* Merge pull request #72 from Stivvo/output-compile-setDevin J. Pohly2021-01-062-17/+12
|\ | | | | Define monitor's x,y at compile time
| * Define monitor's x,y at compile timeStivvo2020-12-302-17/+12
| | | | | | | | | | | | | | | | | | | | Replaces the outputOrder patch. This avoids recalculating positions and allows to arrange monitors in any order, not just from left to right. The order in which monitors are defined in config.h still matters but it's just the order in the list, not the actual position.
* | remove EGL parameter from backend_autocreateDevin J. Pohly2021-01-041-1/+1
| | | | | | | | Tracking with breaking change in swaywm/wlroots#2593.
* | can run nested in Wayland or XDevin J. Pohly2021-01-021-1/+1
| |
* | never ever ever tell anyone to sudo makeDevin J. Pohly2021-01-021-1/+1
| | | | | | | | | | | | I am embarrassed to have let this slip through someone's merge. Anybody who genuinely needs to `sudo make` will know it; everyone else should use a proper package manager and build system.
* | Merge pull request #74 from djpohly/document-gitDevin J. Pohly2021-01-021-1/+1
|\ \ | |/ |/| document that we currently follow wlroots-git
| * document that we currently follow wlroots-gitDevin J. Pohly2021-01-021-1/+1
|/ | | | Closes #73.
* Revert "Allow toggling the layout before selecting a different one"Devin J. Pohly2020-12-281-2/+1
| | | | | This reverts commit 90cc3b1e2c824db74e932dbb9733d398619a037c. Didn't mean to merge this change.
* flesh out cleanupDevin J. Pohly2020-12-271-1/+3
| | | | | | | This is the order of *_destroy calls which resulted in the fewest errors/leaks detected by Valgrind. Most of the errors come from the gbm_allocator code - will have to figure out which destroy call is still missing.
* remove limitation notes (tracked in Issues)Devin J. Pohly2020-12-271-6/+0
|
* clarify intention of feature suggestionsDevin J. Pohly2020-12-271-2/+3
|
* fix segfault in xwayland cursor managerDevin J. Pohly2020-12-271-8/+6
|
* macroize event handlersDevin J. Pohly2020-12-271-51/+33
| | | | | This was a prime candidate for reducing the verbosity of some of our code
* Revert "remove github directory"Devin J. Pohly2020-12-272-0/+20
| | | | This reverts commit 572ccd92c43b83b677e87c3926d0f5703224c2d8.
* credit for patch maintenance as wellDevin J. Pohly2020-12-251-2/+2
|
* update README based on contributionsDevin J. Pohly2020-12-251-4/+4
|
* add Discord linkDevin J. Pohly2020-12-251-0/+2
|
* add "all" targetDevin J. Pohly2020-12-251-0/+1
|
* making this a teamDevin J. Pohly2020-12-251-1/+1
|
* XWayland still buggy, disable by defaultDevin J. Pohly2020-12-251-1/+1
|
* no need to cast NULL to void *Devin J. Pohly2020-12-251-1/+1
|
* consolidate some of the ugliness into a separate fileDevin J. Pohly2020-12-253-127/+200
| | | | | | | | | | | | | | Similar to Linux kernel approach, encapsulate some of the uglier conditional compilation into inline functions in header files. The goal is to make dwl.c more attractive to people who embrace the suckless philosophy - simple, short, hackable, and easy to understand. We want dwm users to feel comfortable here, not scare them off. Plus, if we do this right, the main dwl.c code should require only minimal changes once XWayland is no longer a necessary evil. According to `cloc`, this also brings dwl.c down below 2000 lines of non-blank, non-comment code.
* Stivvo deserves a shout-out too!Devin J. Pohly2020-12-251-0/+1
|
* fix build with -DXWAYLANDDevin J. Pohly2020-12-241-15/+13
|
* missed a few of theseDevin J. Pohly2020-12-241-3/+3
|
* don't call applyexclusive just to returnDevin J. Pohly2020-12-241-44/+42
|
* let's not alienate the dwm folksDevin J. Pohly2020-12-242-116/+128
| | | | Fix style.
* Merge updates from guidocellaDevin J. Pohly2020-12-247-292/+534
|\ | | | | | | | | Thanks so much for helping to keep the project running while life was crazy!
| * spacingGuido Cella2020-12-221-0/+1
| |
| * remove github directoryGuido Cella2020-12-212-20/+0
| |
| * disable natural scrolling by defaultGuido Cella2020-12-211-1/+1
| | | | | | | | This inverts the scroll even on regular mice.
| * update comments and remove debugging printfGuido Cella2020-12-212-13/+6
| |
| * Define monitor order with monrules[]Stivvo2020-12-212-4/+29
| | | | | | | | | | | | | | The order in which monitors are defined in monrules[] actually matters. Monotors that aren't configured in monrules[], it will always be the leftmost.