aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* `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
|\ \ | |/ |/|
| * simplify fullscreen expressionDevin J. Pohly2021-09-081-1/+1
| |
* | Merge branch 'main' into wlroots-nextDevin J. Pohly2021-08-231-2/+9
|\|
| * 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
| |\
* | | 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
|\ \ \ | |/ / |/| / | |/
| * 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
| | |
| | * added statusbar update when tags are updatedDavid Donahue2021-02-071-0/+4
| | |
| | * Added interface to output information about tags, the currently selected ↵David Donahue2021-02-071-0/+36
| | | | | | | | | | | | monitor, and the focused client to a file for use by a status bar
| * | Revert "remove sigchld function"Devin J. Pohly2021-03-131-3/+17
| | | | | | | | | | | | | | | This reverts commit 1fa72b07728ebb396a9f236921b81c369bb12ccb. Fixes #97.
* | | Merge branch 'main' into wlroots-nextDevin J. Pohly2021-03-101-12/+3
|\| |
| * | remove sigchld functionDevin J. Pohly2021-03-101-12/+3
| | | | | | | | | | | | | | | Explicitly setting the handler for SIGCHLD to SIG_IGN tells the OS to reap zombie processes automatically, which is what we wanted anyway.
* | | Revert "Revert "remove EGL parameter from backend_autocreate""Devin J. Pohly2021-02-161-1/+1
| | | | | | | | | | | | This reverts commit 8ed88822ca4448b06c2d7e6155d8022152b78017.
* | | Revert "Revert "fix undeclared WLR_KEY_PRESSED""Devin J. Pohly2021-02-161-1/+1
|/ / | | | | | | This reverts commit a11f2bbc7a4068321767bd7e8c7eee1aee278bc9.
* | Revert "fix undeclared WLR_KEY_PRESSED"Devin J. Pohly2021-02-161-1/+1
| | | | | | | | This reverts commit 67896e9d8b98f679faf4456e26e82057c1884789.
* | Revert "remove EGL parameter from backend_autocreate"Devin J. Pohly2021-02-161-1/+1
| | | | | | | | This reverts commit 0ff13cf216056a36a261f4eed53c6a864989a9fb.
* | fix style on space-indented functionDevin J. Pohly2021-02-141-4/+4
|/
* add some explanation of output reconfigurationDevin J. Pohly2021-01-181-0/+13
| | | | Hopefully this will help "future us" understand what's going on.
* remove hacky code from output-management handlerDevin J. Pohly2021-01-181-11/+3
| | | | | This functionality belongs in updatemons(), where it can hopefully be written a bit more elegantly.
* commit entire output config, or fail and rollbackDevin J. Pohly2021-01-181-5/+8
| | | | | | | | | | | The wlr-output-management protocol requires that either all of the changes from an apply request be applied successfully, in which case a "succeeded" event is sent, or all of the changes are reverted and a "failed" event is sent. As written, this could partially commit changes, then fail. Test the changes first (even for an "apply" event), then commit or rollback as appropriate.
* use updatemons as handler for output_layout.changeDevin J. Pohly2021-01-181-8/+6
| | | | | This should end up firing precisely when we need to adjust our geometry, rather than us guessing about it based on requests.
* unify increment style while we're hereDevin J. Pohly2021-01-181-3/+3
|