aboutsummaryrefslogtreecommitdiffstats
path: root/dwl.c
AgeCommit message (Collapse)AuthorLines
2022-09-02don't arrange layers on disabled monitorsLeonardo Hernández Hernández-0/+2
2022-09-02call setfullscreen() in setmon()Leonardo Hernández Hernández-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
2022-09-02prevent segfault when destroying monitorsLeonardo Hernández Hernández-8/+11
also don't count unmapped surfaces for exclusive zone and exclusive_focus is now of type `void *`
2022-09-02Revert "Revert "various improvements to layer surface""Leonardo Hernández Hernández-23/+15
This reverts commit c017916d35795cf85e5181907f5e97a1d702612a.
2022-08-31Revert "various improvements to layer surface"Leonardo Hernández Hernández-15/+23
see https://github.com/djpohly/dwl/issues/289#issuecomment-1231287114 This reverts commit 226051974060746d02d787ac1ef70b6267ee51b4.
2022-08-29various improvements to layer surfaceLeonardo Hernández Hernández-23/+15
- remove various useless assignments of layersurface->mon - styles changes - do not set wlr_layer_surface->output to NULL at destroy
2022-08-28conform the idle inhibitor protocolLeonardo Hernández Hernández-5/+25
previously we disable idle tracking simply due to the fact that it exist
2022-08-28add support for the single pixel buffer protocolLeonardo Hernández Hernández-0/+2
2022-08-27new function to notify keyboard enterLeonardo Hernández Hernández-13/+2
2022-08-26Merge remote-tracking branch 'djpohly/main' into wlroots-nextLeonardo Hernández Hernández-160/+242
2022-08-25prevent an infinite loop if try to use focusmon() with all monitors disabledLeonardo Hernández Hernández-3/+5
2022-08-23don't try to set monitor for clients in createmon()Leonardo Hernández Hernández-5/+0
this is done in updatemons()
2022-08-23set monitor for clients that don't have one in updatemons()Leonardo Hernández Hernández-0/+6
only if selmon is enabled and the clients are mapped
2022-08-18set monitor for clients that don't have one on monitor creationLeonardo Hernández Hernández-8/+4
2022-08-16don't respect size hints for fullscreen clientsLeonardo Hernández Hernández-9/+11
Fixes: #292
2022-08-13change type of c->bw: int -> unsigned intLeonardo Hernández Hernández-1/+1
2022-08-13reorder isfullscreen in Client definitionLeonardo Hernández Hernández-2/+1
2022-08-13initialize to zero the box used in commitnotify()Leonardo Hernández Hernández-1/+1
2022-08-12fix crash when setting a custom modeLeonardo Hernández Hernández-1/+17
2022-08-12rework outputmgrapplyortest()Leonardo Hernández Hernández-21/+35
first disable requested monitors, then enable and/or change mode, x and y, etc. This is mostly what sway does
2022-07-30check client_from_wlr_surface() returning NULL in urgent()Leonardo Hernández Hernández-1/+1
fix #281
2022-07-25fix segfault if parent->mon is unsetDima Krasner-1/+2
2022-07-24use the layer surface to create popupsLeonardo Hernández Hernández-7/+6
2022-07-23make sure we do not create a double fullscreen_bgLeonardo Hernández Hernández-4/+9
and also make sure we do not destroy it if it does not exist Fixes: #274
2022-07-23conform the xdg-protocol with fullscreen translucent clientsLeonardo Hernández Hernández-0/+14
see `setfullscreen()` for more info
2022-07-19always set the same monitor and tags for child clients of a clientLeonardo Hernández Hernández-2/+9
fixes #272
2022-07-19do not focus clients if a layer surface is focusedLeonardo Hernández Hernández-2/+9
2022-07-19force line-buffered stdout if stdout is not a ttyDima Krasner-1/+3
2022-07-19Revert "only call wlr_seat_keyboard_notify_enter() if a keyboard is found"Leonardo Hernández Hernández-0/+4
This reverts commit 8e03bce6217117f0687cd727ae2c47bdd3c0fe5a. fixes #270
2022-07-07only call wlr_seat_keyboard_notify_enter() if a keyboard is foundLeonardo Hernández Hernández-4/+0
2022-07-06check pointer focus in arrange()Leonardo Hernández Hernández-1/+1
2022-07-06arrange client's monitor if size has change since last commitLeonardo Hernández Hernández-4/+15
2022-07-06resize now takes `struct wlr_box` as parameterLeonardo Hernández Hernández-22/+18
2022-07-06check current and pending geometry to set c->resize to zeroLeonardo Hernández Hernández-3/+3
Fixes #260
2022-06-29Checks for overflows for client max width and heightBen Jargowsky-2/+3
2022-06-24respect size hintsLeonardo Hernández Hernández-7/+11
2022-06-24inline unmaplayersurface() into unmaplayersurfacenotify()Leonardo Hernández Hernández-11/+3
unmap signal is guaranted to be emitted before destroy signal so is useless checking if it is mapped at destroy
2022-06-24avoid layer surface popups appearing below x{dg,wayland} clientsLeonardo Hernández Hernández-1/+6
2022-06-24unconstrain layer shell popups from monitor sizeLeonardo Hernández Hernández-1/+1
unconstrain other popups from monitor usable area
2022-06-21chase wlroots input_device changesLeonardo Hernández Hernández-6/+4
2022-06-21use LayerSurface.mon when possibleLeonardo Hernández Hernández-8/+8
2022-06-21unconstrain layer shell popupsLeonardo Hernández Hernández-17/+16
also unconstrain popups from monitor's usable area
2022-06-20don't set `c->isfullscreen` to zeroLeonardo Hernández Hernández-2/+0
calloc initializes all fields to zero
2022-06-16move ugglyness to client.hLeonardo Hernández Hernández-9/+1
2022-06-16remove unneeded check in focusclient()Leonardo Hernández Hernández-1/+1
2022-06-14kill child process in cleanup()Leonardo Hernández Hernández-12/+11
2022-06-10add click method configuration optionMarco Siedentopf-0/+3
Add the libinput configuration option to choose between Software Button Areas and Clickfinger
2022-06-09set client bounds at resizeLeonardo Hernández Hernández-0/+1
2022-06-09use xdg-shell v4Leonardo Hernández Hernández-1/+1
2022-06-07use xdg-shell v3Leonardo Hernández Hernández-1/+1