aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* add cleanup listener for keyboardsDevin J. Pohly2020-07-231-0/+14
|
* add monitor destroy listenerDevin J. Pohly2020-07-231-1/+17
|
* reorder teardownsDevin J. Pohly2020-07-231-1/+3
|
* fix more unfreed memoryDevin J. Pohly2020-07-231-0/+1
|
* output_layout_manager not auto-destroyedDevin J. Pohly2020-07-231-0/+1
|
* xcursor_manager is not automatically destroyedDevin J. Pohly2020-07-231-0/+1
|
* Add killclientGuido Cella2020-07-231-0/+14
|
* let xdg be the plain "createnotify"Devin J. Pohly2020-07-221-6/+6
| | | | use x11 suffix for other function to match isx11, also shorter
* xwayland is the exceptional case, let xdg be 0Devin J. Pohly2020-07-211-32/+31
|
* condense appid/title logicDevin J. Pohly2020-07-211-11/+8
|
* fix segfault on xwayland "appid"Devin J. Pohly2020-07-211-0/+2
|