aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2020-12-27macroize event handlersDevin J. Pohly-51/+33
This was a prime candidate for reducing the verbosity of some of our code
2020-12-27Revert "remove github directory"Devin J. Pohly-0/+20
This reverts commit 572ccd92c43b83b677e87c3926d0f5703224c2d8.
2020-12-25credit for patch maintenance as wellDevin J. Pohly-2/+2
2020-12-25update README based on contributionsDevin J. Pohly-4/+4
2020-12-25add Discord linkDevin J. Pohly-0/+2
2020-12-25add "all" targetDevin J. Pohly-0/+1
2020-12-25making this a teamDevin J. Pohly-1/+1
2020-12-25XWayland still buggy, disable by defaultDevin J. Pohly-1/+1
2020-12-25no need to cast NULL to void *Devin J. Pohly-1/+1
2020-12-25consolidate some of the ugliness into a separate fileDevin J. Pohly-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.
2020-12-25Stivvo deserves a shout-out too!Devin J. Pohly-0/+1
2020-12-24fix build with -DXWAYLANDDevin J. Pohly-15/+13
2020-12-24missed a few of theseDevin J. Pohly-3/+3
2020-12-24don't call applyexclusive just to returnDevin J. Pohly-44/+42
2020-12-24let's not alienate the dwm folksDevin J. Pohly-116/+128
Fix style.
2020-12-24Merge updates from guidocellaDevin J. Pohly-292/+534
Thanks so much for helping to keep the project running while life was crazy!
2020-12-24Merge pull request #32 from alex-courtis/24-xwayland-cursorDevin J. Pohly-0/+18
#24 ensure that xwayland cursor defaults to left_ptr
2020-12-24simplify ROUND macroDevin J. Pohly-1/+1
2020-12-24Merge pull request #54 from Bonicgamer/swayscaleboxDevin J. Pohly-4/+5
Sway scale_box (rounding)
2020-12-24Merge pull request #53 from Stivvo/fullscreenDevin J. Pohly-21/+106
Fullscreen support
2020-12-24fix crash on non-libinput pointers (e.g. X11 backend)Devin J. Pohly-5/+7
2020-12-24Same target as dwm sounds like a good goalDevin J. Pohly-1/+1
2020-12-24Merge pull request #49 from guidocella/layer-shellDevin J. Pohly-13/+771
Layer shell
2020-12-24use the install command to installDevin J. Pohly-3/+1
2020-12-24Merge pull request #65 from Keating950/masterDevin J. Pohly-0/+8
Add install target to Makefile
2020-12-24Merge pull request #56 from oyren/readme_logDevin J. Pohly-6/+0
remove log flags from readme
2020-12-24Merge pull request #62 from Java-boi/masterDevin J. Pohly-1/+17
Added basic tap-to-click for touchpad users
2020-12-24Merge pull request #66 from richardipsum/masterDevin J. Pohly-1/+1
fix undeclared WLR_KEY_PRESSED
2020-12-24Change fullscreen policiesStivvo-25/+30
When a new client is spawned, fullscreen isn't disabled for all clients in that monitor any more. Instead, all fullscreen clients are kept fullscreen, while other clients spawn in the background. When fullscreen is disabled, all clients are rearranged. This is made to make dwl more flexible allowing multiple fullscreen clients at the same time, have floating clients on top of a fullscreen one and let stuff happen without quitting fullscreen, like many other WMs and DEs.
2020-12-24quitallfullscreen() even when enabling fullscreenStivvo-7/+14
Disable fullscreen on all visible clients in that monitor also before enabling it on another client. quitallfullscreen() is reintroduced becouse is now more useful set c->isfullscreen later to avoid making quitallfullscreen() disable fullscreen on the current client
2020-12-24Remove goto render (easier merge)Stivvo-19/+18
2020-12-22spacingGuido Cella-0/+1
2020-12-21remove github directoryGuido Cella-20/+0
2020-12-21disable natural scrolling by defaultGuido Cella-1/+1
This inverts the scroll even on regular mice.
2020-12-21update comments and remove debugging printfGuido Cella-13/+6
2020-12-21Define monitor order with monrules[]Stivvo-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.
2020-12-21don't reset the cursor imageGuido Cella-1/+1
...in internal calls to restore pointer focus. Necessary for the unclutter patch, and there's no harm in avoiding this call even in mainline; might prevents issues in same edge cases.
2020-12-21update README.mdGuido Cella-30/+25
- A maximum SLOC can't be reasonably determined before implementing the missing protocols, so not any time soon - dwl definitely isn't a simple as dwm since it must implement lots of Wayland protocols and not just manage windows. The status bar integration, layer shell popups, damage tracking and IME are gonna require hundreds more lines each. - "Buffering of input when spawning a client so you don't have to wait for the window (use `wl_client_get_credentials` to get the PID) - would this require passing through something like dmenu? Extension protocol?" This sounds exoteric, if anything this should be patch. - Can dwl really be started from within an X session? When I do it from dwm it crashes. - A window's texture is scaled for its "home" monitor only (noticeable when window sits across a monitor boundary) Gonna open a ticket for this rather than keep it in the README.
2020-12-20say TODOGuido Cella-8/+8
just wtf is XXX supposed to be? It sounds like a pornographic thing.
2020-12-20rename drwGuido Cella-9/+9
It's impossible to understand that this stands from drawable if you're not familiar with dwm's code.
2020-12-20don't notify of activityGuido Cella-4/+7
...or update selmon when we just want to restore pointer focus.
2020-12-20deactivate the focused client on overlay focusGuido Cella-0/+2
2020-12-20replace shouldfocusclients with checking oldGuido Cella-27/+24
And don't activate clients while an overlay is focused.
2020-12-20fix keyboard focus with overlaysGuido Cella-7/+8
Don't let internal calls to motionnotify(0) meant to update the pointer focus from maplayersurfacenotify and destroylayersurfacenotify also shift the keyboard focus to the surface under the cursor with sloppyfocus.
2020-12-20ensure that xwayland cursor defaults to left_ptrGuido Cella-0/+7
Don't show an X cursor when closing an Xwayland window or with certain dropdowns. Based on https://github.com/djpohly/dwl/pull/32
2020-12-20enable adaptive syncGuido Cella-0/+1
The comment in this function's declaration says the backend is free to ignore this setting, so maybe there's no need to make it configurable?
2020-12-20use boolGuido Cella-54/+56
Because it's 2020. Passing integers to wlroots variables and functions with bool in their signature is silly.
2020-12-19remove -Werror=declaration-after-statementGuido Cella-163/+151
wtf is the point of this crap? It makes the code harder to follow, increases the line count and made me fail compilation a million times. We shouldn't blindy follow everything about suckless's style.
2020-12-19remove goto when the border is 0Guido Cella-3/+0
Rendering 0-dimension rectangles no longer crashes wlroots.
2020-12-19remove useless assignmentGuido Cella-1/+0
calloc already initializes ints to 0.