aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* reuse m->mGuido Cella2020-08-271-4/+1
|
* remove commentGuido Cella2020-08-271-2/+0
| | | | | wlr_output_layout_get_box internally calls wlr_output_effective_resolution
* set a monitor geometry only when creating itGuido Cella2020-08-271-3/+4
| | | | Lets layers with an exclusive area shrink the usable area
* render in the same order as swayGuido Cella2020-08-271-2/+2
|
* correct variable nameGuido Cella2020-08-261-1/+1
|
* rename functions tooGuido Cella2020-08-261-19/+19
|
* remove extra spaceGuido Cella2020-08-261-1/+1
|
* render layer surfacesGuido Cella2020-08-261-0/+43
|
* improve namingGuido Cella2020-08-261-62/+63
| | | | | | | rename Layer to LayerSurface; layer should refer to overlay, top, bottom or background LayerSurface variables are always called layersurface wlr_layer_surface_v1 variables are always called wlr_layer_surface
* layer shell initial attemptGuido Cella2020-08-241-0/+365
|
* 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
| |