aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add support to change focused window's border colorMichael Cardell Widerkrantz2020-07-261-2/+9
|
* remove client.isx11 in favor of client.typeDevin J. Pohly2020-07-251-14/+12
|
* ok, treat it like an enumDevin J. Pohly2020-07-251-1/+2
|
* do managed/unmanaged check in map and unmapDevin J. Pohly2020-07-251-30/+14
|
* do managed check in activatex11Devin J. Pohly2020-07-251-4/+4
|
* add client.type fieldDevin J. Pohly2020-07-251-1/+5
| | | | Current options are XDGShell, X11Managed, and X11Unmanaged.
* rename activate to activatex11 for consistencyDevin J. Pohly2020-07-251-3/+3
|
* clarify createnotifyx11 functionDevin J. Pohly2020-07-251-3/+7
|
* xwayland: unmanaged (dropdown menu) supportAlexander Courtis2020-07-251-5/+134
|
* remove n counter from zoom(), add commentsDevin J. Pohly2020-07-241-8/+11
|
* Add zoomGuido Cella2020-07-241-0/+30
|
* fix WLR_SURFACE macroDevin J. Pohly2020-07-231-1/+1
|
* don't double-add new monitor to monsDevin J. Pohly2020-07-231-2/+1
| | | | this was a copy/paste error