aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Revert "remove useless check of `m` in arrangelayers()"Leonardo Hernández Hernández2022-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit d14ee99661e420c8e3d8fcc6791429a0e08bd915. Checking if the output is enabled is necessary to avoid a segfault later
* | | | | | | | | change the default term to `foot`Leonardo Hernández Hernández2022-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is closer to the suckless philosophy (foot implements things that the suckless guys would say that should be done by tmux or something else, but I have no desire to create a new terminal emulator, and the best fit is foot) also alacritty uses +100Mb of memory, more that dwl itself (~90Mb) and foot only ~20Mb
* | | | | | | | | remove useless check of `m` in arrangelayers()Leonardo Hernández Hernández2022-09-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is supossed to avoid a crash when we pass m=NULL as argument however it would crash anyway and also because we should not pass m=NULL
* | | | | | | | | fix use of loop initial declarationLeonardo Hernández Hernández2022-09-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forbidden by the suckless style
* | | | | | | | | fix unmanaged clients not being unlinked from the commit listenerLeonardo Hernández Hernández2022-09-181-4/+4
| | | | | | | | |
* | | | | | | | | fix segfault when unlocking swaylock on two monitor setupLeonardo Hernández Hernández2022-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wlr_*_surface_from_wlr_surface() can return NULL if the surface is being destroyed Fixes: https://github.com/djpohly/dwl/issues/305
* | | | | | | | | don't try to move outputs when its x,y hasn't changeLeonardo Hernández Hernández2022-09-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when using wlr_output_layout_move() wlroots internally change the state of the output to manually configured and when updating the layout these outputs aren't ignored by wlroots, leaving us at our own
* | | | | | | | | prior run the startup command start the backendLeonardo Hernández Hernández2022-09-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this allow use clients like wlr-randr in the startup command
* | | | | | | | | make sure the parent is mapped prior set monitor and tagsLeonardo Hernández Hernández2022-09-101-5/+6
| | | | | | | | |
* | | | | | | | | use wl_container_of() instead of data in some functionsLeonardo Hernández Hernández2022-09-101-5/+3
| | | | | | | | |
* | | | | | | | | add some commentsLeonardo Hernández Hernández2022-09-101-4/+24
| | | | | | | | |
* | | | | | | | | inline input_device in virtualkeyboard()Leonardo Hernández Hernández2022-09-101-2/+1
| | | | | | | | |
* | | | | | | | | fix idle inhibitor checkLeonardo Hernández Hernández2022-09-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously we tried to get a client from the surface and then compare it with the excluded surface, if we cannot get a client from the surface (e.g: a layer surface) it just ignored all the next idle inhibitors no matter what What I have should done is just checking if the excluded surface is equal to the current idle inhibitor's surface and continue in case it is.
* | | | | | | | | fix exclusive zone of unmapped layer surfacesLeonardo Hernández Hernández2022-09-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/djpohly/dwl/issues/302
* | | | | | | | | resize the fullscreen background when resize the clientLeonardo Hernández Hernández2022-09-081-0/+2
| | | | | | | | |
* | | | | | | | | update link to input-protocolsLeonardo Hernández Hernández2022-09-081-1/+1
| | | | | | | | |
* | | | | | | | | append `-dev` to $(_VERSION) (should have added it a long time ago)Leonardo Hernández Hernández2022-09-081-1/+1
| | | | | | | | |
* | | | | | | | | define _POSIX_C_SOURCE through CPPFLAGSLeonardo Hernández Hernández2022-09-082-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like dwm
* | | | | | | | | fix condition that always evaluate to false in commitlayersurfacenotify()Leonardo Hernández Hernández2022-09-071-1/+1
| | | | | | | | |
* | | | | | | | | remove obsolete check of c->mon in fullscreennotify()Leonardo Hernández Hernández2022-09-071-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since 19a8a095ebe782065903b9a03670560371302206 it's checked in setfullscreen()
* | | | | | | | | set `c->prev` in setmon() and not in mapnotify()Leonardo Hernández Hernández2022-09-061-1/+1
| | | | | | | | |
* | | | | | | | | only enable/disable clients from the specified monitor in arrange()Leonardo Hernández Hernández2022-09-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also fix a crash when m is null, this can only happen when selmon is NULL
* | | | | | | | | set c->prev in mapnotify()Leonardo Hernández Hernández2022-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #300
* | | | | | | | | Minor changes to READMEDmitry Zakharchenko2022-09-051-9/+3
| | | | | | | | |
* | | | | | | | | Add direct irc linkDmitry Zakharchenko2022-09-021-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, move IRC section to the top so that it's more accessible.
* | | | | | | | | don't arrange layers on disabled monitorsLeonardo Hernández Hernández2022-09-021-0/+2
| | | | | | | | |
* | | | | | | | | call setfullscreen() in setmon()Leonardo Hernández Hernández2022-09-021-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this will help when sending to another monitor a fullscreen client and also will prevent a crash when a client request fullscreen when it has no monitor
* | | | | | | | | prevent segfault when destroying monitorsLeonardo Hernández Hernández2022-09-021-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *`
* | | | | | | | | Revert "Revert "various improvements to layer surface""Leonardo Hernández Hernández2022-09-021-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c017916d35795cf85e5181907f5e97a1d702612a.
* | | | | | | | | Revert "various improvements to layer surface"Leonardo Hernández Hernández2022-08-311-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see https://github.com/djpohly/dwl/issues/289#issuecomment-1231287114 This reverts commit 226051974060746d02d787ac1ef70b6267ee51b4.
* | | | | | | | | various improvements to layer surfaceLeonardo Hernández Hernández2022-08-291-23/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove various useless assignments of layersurface->mon - styles changes - do not set wlr_layer_surface->output to NULL at destroy
* | | | | | | | | conform the idle inhibitor protocolLeonardo Hernández Hernández2022-08-281-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previously we disable idle tracking simply due to the fact that it exist
* | | | | | | | | new function to notify keyboard enterLeonardo Hernández Hernández2022-08-272-13/+12
| | | | | | | | |
* | | | | | | | | sort client.h functionsLeonardo Hernández Hernández2022-08-271-68/+64
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | prevent an infinite loop if try to use focusmon() with all monitors disabledLeonardo Hernández Hernández2022-08-251-3/+5
| | | | | | | |
* | | | | | | | don't try to set monitor for clients in createmon()Leonardo Hernández Hernández2022-08-231-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is done in updatemons()
* | | | | | | | set monitor for clients that don't have one in updatemons()Leonardo Hernández Hernández2022-08-232-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only if selmon is enabled and the clients are mapped
* | | | | | | | set monitor for clients that don't have one on monitor creationLeonardo Hernández Hernández2022-08-181-8/+4
| | | | | | | |
* | | | | | | | don't respect size hints for fullscreen clientsLeonardo Hernández Hernández2022-08-161-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #292
* | | | | | | | change type of c->bw: int -> unsigned intLeonardo Hernández Hernández2022-08-131-1/+1
| | | | | | | |
* | | | | | | | reorder isfullscreen in Client definitionLeonardo Hernández Hernández2022-08-131-2/+1
| | | | | | | |
* | | | | | | | initialize to zero the box used in commitnotify()Leonardo Hernández Hernández2022-08-131-1/+1
| | | | | | | |
* | | | | | | | handle client_from_wlr_surface() receiving a subsurfaceLeonardo Hernández Hernández2022-08-121-0/+3
| | | | | | | |
* | | | | | | | fix crash when setting a custom modeLeonardo Hernández Hernández2022-08-121-1/+17
| | | | | | | |
* | | | | | | | rework outputmgrapplyortest()Leonardo Hernández Hernández2022-08-121-21/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first disable requested monitors, then enable and/or change mode, x and y, etc. This is mostly what sway does
* | | | | | | | 2200: let's use this wiselyDevin J. Pohly2022-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like [suckless-dev] was right about one thing.
* | | | | | | | fix dist targetLeonardo Hernández Hernández2022-08-081-3/+2
| | | | | | | |
* | | | | | | | use `git describe` to generate versionLeonardo Hernández Hernández2022-08-082-14/+1
| | | | | | | |
* | | | | | | | check client_from_wlr_surface() returning NULL in urgent()Leonardo Hernández Hernández2022-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #281
* | | | | | | | fix segfault if parent->mon is unsetDima Krasner2022-07-251-1/+2
| | | | | | | |