aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #196 from noocsharp/mainSevz2022-03-111-0/+10
|\ | | | | die on allocation failure
| * die on allocation failureNihal Jere2022-02-221-0/+10
| |
* | use wlr_box for previous geomLeonardo Hernández Hernández2022-03-101-10/+3
| |
* | fix crash when the last monitor is disconnectedLeonardo Hernandez Hernandez2022-03-101-5/+16
| |
* | Merge pull request #187 from fauxmight/new-clients-printstatusSevz2022-03-101-0/+2
|\ \ | | | | | | Newly launched or closed clients ALWAYS generate status update
| * | Newly launched or closed clients ALWAYS generate status updateA Frederick Christensen2021-12-311-0/+2
| | | | | | | | | | | | | | | | | | | | | Prior to this change, if a client whose tag(s) are not currently selected is launched or killed, no update to status was printed and status bars being fed by printstatus() did not update newly active or newly inactive (but unselected) tags.
* | | Merge pull request #149 from xi/fix-grabc-unmapSevz2022-03-101-0/+4
|\ \ \ | | | | | | | | reset cursor mode when grabc is unmapped
| * | | reset cursor mode when grabc is unmappedTobias Bengfort2021-09-041-0/+4
| | | |
* | | | remove typedef `Decoration`Leonardo Hernandez Hernandez2022-03-081-5/+0
| |_|/ |/| |
* | | Merge pull request #160 from Humm42/closepipesDevin J. Pohly2022-02-151-0/+2
|\ \ \ | |_|/ |/| | -s: close unused fds
| * | -s: close unused fdsHumm2021-10-131-0/+2
| | | | | | | | | | | | | | | | | | dup2 doesn’t close fds, it only duplicates them. The old ones weren’t closed, causing problems (like dwl blocking due to the child process never reading from the reading end, even if stdin has been closed).
* | | Merge branch 'wlroots-next'Devin J. Pohly2021-12-221-9/+16
|\ \ \ | | | | | | | | | | | | wlroots 0.15.0 was released
| * | | explicitly create renderer and allocatorDevin J. Pohly2021-12-161-4/+11
| | | | | | | | | | | | | | | | autocreate was removed
| * | | `wlr_xdg_surface.configure_serial` has been moved into `wlr_xdg_surface_state`Leonardo Hernandez Hernandez2021-12-161-1/+1
| | | | | | | | | | | | | | | | as seen in swaywm/wlroots@0e34208
| * | | Merge branch 'wlroots-next' of github:djpohly/dwl into wlroots-nextDevin J. Pohly2021-12-161-3/+3
| |\ \ \
| | * | | client_pending has been renamed as pending in wlr_layer_surface_v1Leonardo Hernandez Hernandez2021-09-241-3/+3
| | | | | | | | | | | | | | | | | | | | as seen in swaywm/wlroots@59fa363
| * | | | Merge branch 'main' into wlroots-nextDevin J. Pohly2021-09-081-1/+1
| |\ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'main' into wlroots-nextDevin J. Pohly2021-08-231-2/+9
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | wlr_layer_surface_v1_close has been replaced by wlr_layer_surface_v1_destroyPalanix2021-08-211-1/+1
| | | | |
| * | | | Merge branch 'xdg-activation' into wlroots-nextDevin J. Pohly2021-06-031-9/+41
| |\ \ \ \
* | \ \ \ \ Merge branch 'main' of github:djpohly/dwlDevin J. Pohly2021-12-221-16/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | / | | |_|_|/ | |/| | |
| * | | | Remove redundant xcursor managerARDiDo2021-09-261-16/+0
| | |_|/ | |/| |
* / | | simplify fullscreen expressionDevin J. Pohly2021-09-081-1/+1
|/ / /
* | | update deprecated xkb function nameDevin J. Pohly2021-08-231-1/+1
| | |
* | | Merge pull request #136 from guidocella/presentation-timeDevin J. Pohly2021-08-141-0/+6
|\ \ \ | | | | | | | | implement the presentation time protocol
| * | | implement the presentation time protocolGuido Cella2021-08-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | This lets applications, such as mpv with --video-sync=display-resample, know accurately when frames are displayed and ensure smooth video playback.
* | | | Moved printstatus() call in focusclient() to prevent printstatus being ↵David Donahue2021-07-011-1/+2
|/ / / | | | | | | | | | called on every frame when things like dmenu are up
* | | Merge branch 'xdg-activation' into wlroots-nextDevin J. Pohly2021-06-301-9/+41
|\ \ \ | |/ / |/| / | |/
| * implement urgency hintDevin J. Pohly2021-05-221-9/+41
| |
* | exit cleanly on INT/TERMDevin J. Pohly2021-05-261-1/+10
| |
* | handle ephemeral pageflip failuresDevin J. Pohly2021-05-251-27/+31
| | | | | | | | | | | | If a transient failure occurs in wlr_output_commit, re-render until it doesn't happen. This could possibly be removed if we decide to implement damage tracking in the future.
* | print status on output createDevin J. Pohly2021-05-241-20/+20
| | | | | | | | | | Along with starting the -s command earlier, this will allow the initial monitor setup to generate printstatus info.
* | factor xwayland hackiness out into client.hDevin J. Pohly2021-05-231-10/+1
| |
* | before set tiled verify if client is xdg-shell, then set tileSevz172021-05-231-0/+8
| |
* | Wait until map to set window's tiled stateDevin J. Pohly2021-05-221-4/+4
|/ | | | | Workaround for a bug in Chromium where it fails to attach a buffer to the surface. Fixes #119.
* Merge branch 'main' into pipe-statusDevin J. Pohly2021-04-151-0/+13
|\
| * update status info if focused client changes titleDevin J. Pohly2021-04-151-0/+13
| | | | | | | | Fixes #108.
* | pipe status info into -s commandDevin J. Pohly2021-04-141-1/+8
|/ | | | | | | | | | | | | | Unlike with X window managers, the display socket in Wayland isn't set up prior to starting the compositor. Because of this, you can't pipe the compositor's output directly into a program which needs access to $WAYLAND_DISPLAY, which is a typical setup for this purpose. Existing scripts have been forced to create a pipe/FIFO or a temporary file as an intermediary. Instead, send the status info directly to stdin of the -s command, which *does* have access to $WAYLAND_DISPLAY. Fixes #103.
* nuke CSDs, hopefully for good!Devin J. Pohly2021-04-091-39/+6
|
* Merge branch 'main' into wlroots-nextDevin J. Pohly2021-03-301-2/+1
|\
| * don't move/resize if already moving/resizingDevin J. Pohly2021-03-301-2/+1
| | | | | | | | | | | | Fixes #102. The "ideal" behavior might be to ignore buttons other than the one being used for the action, but this is super-simple and still seems reasonable.
* | Merge branch 'main' into wlroots-nextDevin J. Pohly2021-03-251-39/+59
|\|
| * Fullscreen: simplifications and fixesStivvo2021-03-251-36/+8
| | | | | | | | Merges #69.
| * Merge pull request #91 from drdonahue/wip-tag-status-interfaceDevin J. Pohly2021-03-251-0/+34
| |\ | | | | | | Interface to display tag information on status bar
| | * changed fprintf(stdout) instances to printf(), changed function name from ↵David Donahue2021-03-131-32/+32
| | | | | | | | | | | | statusbar to printstatus
| | * added redirect from stdout to stderr for spawned processes to prevent ↵David Donahue2021-03-061-0/+2
| | | | | | | | | | | | conflicts with the statusbar outputs
| | * Fixed tab formatting in 6 locations where statusbar() is calledDavid Donahue2021-03-011-6/+6
| | |
| | * Changed output to stdout instead of a fileDavid Donahue2021-03-011-14/+6
| | |
| | * updated output format for better expansibility and easier parsingDavid Donahue2021-03-011-4/+5
| | |
| | * Removed unused variable from statusbarDavid Donahue2021-02-081-1/+0
| | |