~ruther/dwl

ref: a9e1cd42017e6e9a4fa7008e04a8aa66b7ac5a68 dwl/dwl.c -rw-r--r-- 78.0 KiB
a9e1cd42 — Devin J. Pohly 4 years ago
remove hacky code from output-management handler

This functionality belongs in updatemons(), where it can hopefully be
written a bit more elegantly.
ab032822 — Devin J. Pohly 4 years ago
commit entire output config, or fail and rollback

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.
3747b316 — Devin J. Pohly 4 years ago
Merge pull request #71 from djpohly/output-layout

call updatemons at the appropriate times
5eefb51f — Devin J. Pohly 4 years ago
use updatemons as handler for output_layout.change

This should end up firing precisely when we need to adjust our geometry,
rather than us guessing about it based on requests.
c63d4c41 — Devin J. Pohly 4 years ago
unify increment style while we're here
81d35aac — Devin J. Pohly 4 years ago
remove unnecessary variable
a5210f7d — Devin J. Pohly 4 years ago
cleanup on aisle createmon()
264be4eb — Devin J. Pohly 4 years ago
Merge pull request #80 from sam-barr/dwl_upstream

Fix Initialization of NetWM Atoms
1d7c7561 — Devin J. Pohly 4 years ago
Merge pull request #77 from djpohly/use-output-direction

Determine monitor order spatially
3d696dfb — sam-barr 4 years ago
Fix Initialization of NetWM Atoms

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
6267593c — Devin J. Pohly 4 years ago
remove now-unneeded monitor position field
e8ca8a8a — Devin J. Pohly 4 years ago
use output layout for dirtomon

No need to track our own order; wlroots has a reasonable default for us
already.
4bf2923f — Devin J. Pohly 4 years ago
Merge pull request #72 from Stivvo/output-compile-set

Define monitor's x,y at compile time
0ff13cf2 — Devin J. Pohly 4 years ago
remove EGL parameter from backend_autocreate

Tracking with breaking change in swaywm/wlroots#2593.
fa782896 — Stivvo 4 years ago
Define monitor's x,y at compile time

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.
33c36be2 — Devin J. Pohly 4 years ago
Revert "Allow toggling the layout before selecting a different one"

This reverts commit 90cc3b1e2c824db74e932dbb9733d398619a037c.  Didn't
mean to merge this change.
313d1f7e — Devin J. Pohly 4 years ago
flesh out cleanup

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.
7b1b5c75 — Devin J. Pohly 4 years ago
fix segfault in xwayland cursor manager
7b320a19 — Devin J. Pohly 4 years ago
macroize event handlers

This was a prime candidate for reducing the verbosity of some of our
code
ef76c921 — Devin J. Pohly 4 years ago
no need to cast NULL to void *
Next
Do not follow this link