aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-271-13/+2
|
* 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-231-0/+6
| | | | 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
|
* 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
* 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
|
* use the layer surface to create popupsLeonardo Hernández Hernández2022-07-241-7/+6
|
* make sure we do not create a double fullscreen_bgLeonardo Hernández Hernández2022-07-231-4/+9
| | | | | and also make sure we do not destroy it if it does not exist Fixes: #274
* conform the xdg-protocol with fullscreen translucent clientsLeonardo Hernández Hernández2022-07-231-0/+14
| | | | see `setfullscreen()` for more info
* always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández2022-07-191-2/+9
| | | | fixes #272
* do not focus clients if a layer surface is focusedLeonardo Hernández Hernández2022-07-191-2/+9
|
* force line-buffered stdout if stdout is not a ttyDima Krasner2022-07-191-1/+3
|
* Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found"Leonardo Hernández Hernández2022-07-191-0/+4
| | | | | This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270
* only call wlr_seat_keyboard_notify_enter() if a keyboard is foundLeonardo Hernández Hernández2022-07-071-4/+0
|
* check pointer focus in arrange()Leonardo Hernández Hernández2022-07-061-1/+1
|
* arrange client's monitor if size has change since last commitLeonardo Hernández Hernández2022-07-061-4/+15
|
* resize now takes `struct wlr_box` as parameterLeonardo Hernández Hernández2022-07-061-22/+18
|
* check current and pending geometry to set c->resize to zeroLeonardo Hernández Hernández2022-07-061-3/+3
| | | | Fixes #260
* Checks for overflows for client max width and heightBen Jargowsky2022-06-291-2/+3
|
* respect size hintsLeonardo Hernández Hernández2022-06-241-7/+11
|
* inline unmaplayersurface() into unmaplayersurfacenotify()Leonardo Hernández Hernández2022-06-241-11/+3
| | | | | unmap signal is guaranted to be emitted before destroy signal so is useless checking if it is mapped at destroy
* avoid layer surface popups appearing below x{dg,wayland} clientsLeonardo Hernández Hernández2022-06-241-1/+6
|
* unconstrain layer shell popups from monitor sizeLeonardo Hernández Hernández2022-06-241-1/+1
| | | | unconstrain other popups from monitor usable area
* use LayerSurface.mon when possibleLeonardo Hernández Hernández2022-06-211-8/+8
|
* unconstrain layer shell popupsLeonardo Hernández Hernández2022-06-211-17/+16
| | | | also unconstrain popups from monitor's usable area
* don't set `c->isfullscreen` to zeroLeonardo Hernández Hernández2022-06-201-2/+0
| | | | calloc initializes all fields to zero
* move ugglyness to client.hLeonardo Hernández Hernández2022-06-161-9/+1
|
* remove unneeded check in focusclient()Leonardo Hernández Hernández2022-06-161-1/+1
|
* kill child process in cleanup()Leonardo Hernández Hernández2022-06-141-12/+11
|
* add click method configuration optionMarco Siedentopf2022-06-101-0/+3
| | | | Add the libinput configuration option to choose between Software Button Areas and Clickfinger
* fix compiler error with gcc complaining about parenthesesLeonardo Hernández Hernández2022-06-051-1/+1
| | | | | | | | | | | dwl.c: In function ‘unmaplayersurface’: dwl.c:2253:9: error: suggest parentheses around assignment used as truth value [-Werror=parentheses] 2253 | layersurface->layer_surface->mapped = layersurface->mapped = 0; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [<builtin>: dwl.o] Error 1 clang not affected
* disable scene node at unmaplayersurface()Leonardo Hernández Hernández2022-06-051-1/+2
|