aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #62 from Java-boi/masterDevin J. Pohly2020-12-241-0/+11
|\ | | | | Added basic tap-to-click for touchpad users
| * Added support for natural scrollingwill2020-10-171-0/+5
| |
| * Added basic tap-to-click for touchpad userswill2020-10-171-0/+6
| |
* | fix undeclared WLR_KEY_PRESSEDRichard Ipsum2020-11-231-1/+1
|/
* set up interfaces in same order as swayDevin J. Pohly2020-08-231-1/+1
| | | | This makes it easier to compare WAYLAND_DEBUG logs when troubleshooting.
* enable gamma controlGuido Cella2020-08-221-0/+2
|
* cleanup function to match dwmDevin J. Pohly2020-08-191-17/+20
|
* fix usage to matchDevin J. Pohly2020-08-191-1/+1
|
* we're not really using the logDevin J. Pohly2020-08-191-20/+4
|
* this is technically barf too I guess?Devin J. Pohly2020-08-191-2/+1
|
* only call updatewindowtype for x11 windowsDevin J. Pohly2020-08-191-9/+7
|
* handle NULL return from backend_autocreateDevin J. Pohly2020-08-181-1/+2
| | | | Fixes #44.
* add macro for fatal errorsDevin J. Pohly2020-08-181-30/+14
| | | | dwm lets the OS do cleanup if the program errors out
* Use SIGCHLD handler from dwmDevin J. Pohly2020-08-181-0/+15
| | | | Fixes #46.
* make this marginally less uglyDevin J. Pohly2020-08-161-3/+2
|
* wlr_session_change_vt is NULL safeDevin J. Pohly2020-08-161-4/+1
|
* _net_wm not needed outside xwaylandDevin J. Pohly2020-08-161-1/+1
|
* Merge pull request #37 from alex-courtis/31-independents-mouse-focusDevin J. Pohly2020-08-161-0/+38
|\ | | | | 31 independents mouse focus
| * Merge branch 'master' into 31-independents-mouse-focusAlexander Courtis2020-08-111-153/+215
| |\
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-091-1/+3
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-091-6/+4
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-061-1/+1
| | |
| * | #31 independents retain focus while mouse is over themAlexander Courtis2020-08-061-4/+32
| | |
* | | Declare commitnotifyGuido Cella2020-08-151-0/+1
| |/ |/|
* | make XWayland support optionalDevin J. Pohly2020-08-101-130/+182
|/
* add monocle layoutDevin J. Pohly2020-08-031-0/+13
|
* condense getatom and add note about error returnDevin J. Pohly2020-08-031-4/+3
|
* Merge branch 'master' of github:djpohly/dwl into masterDevin J. Pohly2020-08-031-1/+1
|\
| * Merge pull request #25 from geistesk/error-maybe-uninitializedDevin J. Pohly2020-08-031-1/+1
| |\ | | | | | | getatom: fix potential uninitialized atom variable
| | * getatom: fix potential uninitialized atom variableAlvar Penning2020-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | The getatom function returns the atom variable, which is only initialized in case of a success. This results in a maybe-uninitialized warning/error. After this commit, now a zero value is returned in case of error.
* | | add some more hands-off protocolsDevin J. Pohly2020-08-031-0/+4
|/ /
* | fix an editing mistakeDevin J. Pohly2020-08-021-5/+5
| |
* | focusclient checks whether oldsel == selDevin J. Pohly2020-08-021-7/+2
| | | | | | | | No need to do it outside the call.
* | refactor focusclientDevin J. Pohly2020-08-021-7/+12
| |
* | abcDevin J. Pohly2020-08-021-11/+11
| |
* | convert lastfocused() to focustop(m)Devin J. Pohly2020-08-021-9/+9
| |
* | pass previous focus to focusclientDevin J. Pohly2020-08-021-14/+16
| |
* | remove surface from focusclient functionDevin J. Pohly2020-08-021-31/+17
| | | | | | | | | | | | Honestly not sure why a specific surface is focused rather than the client figuring that out. Seems to work in a quick test, but we can remember this commit if something breaks for, I dunno, mouse people.
* | C99 doesn't support anonymous unionsDevin J. Pohly2020-08-021-44/+44
| | | | | | | | I'm cool with ->surface.xdg instead of ->xdg_surface though.
* | make setmon a bit more straightforwardDevin J. Pohly2020-08-021-6/+6
| |
* | remove unneeded variableDevin J. Pohly2020-08-011-2/+1
| |
* | simplify pointerfocusDevin J. Pohly2020-07-311-8/+8
| | | | | | | | Similar to focusclient
* | simplify focusclientDevin J. Pohly2020-07-311-49/+34
| | | | | | | | | | | | | | This arranges the function into some logical tasks: deactivate the old client, update wlroots' keyboard focus, update our data structures, and activate the new client. The last two only need to be done when focusing something new, so an early return saves some horizontal space.
* | remove now-unused variables in focusclientDevin J. Pohly2020-07-311-11/+8
| |
* | add tag bitset check from dwmDevin J. Pohly2020-07-311-0/+3
| |
* | attach_render and commit are all that's neededDevin J. Pohly2020-07-301-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | attach_render tells the output that a "new" buffer has been prepared (even if we haven't changed it). We need to call that and then commit it to keep the render loop going. Software cursors will freeze momentarily during layout updates, but I suspect that this is not as easily fixed as it sounds. You can force software cursors by running: WLR_NO_HARDWARE_CURSORS=1 ./dwl
* | style fixesDevin J. Pohly2020-07-301-10/+5
| |
* | do not render frames when any surface has uncommitted resizesAlexander Courtis2020-07-301-4/+36
| |
* | tidy activate notify resourceAlexander Courtis2020-07-291-0/+2
|/
* make border color selection conciseDevin J. Pohly2020-07-261-5/+2
|