Remove vestigial monitor configuration info
The x/y fields in monitor rules are unused and were meant to be deleted.
Also removes the outdated comment in config.h.
Layer shell: Prevent infinte configure/commit loop
Check the wlr_layer_surface_v1_state.committed bitmask to see if we need
to rearrange. This is also what sway does.
Without this check, every commit request (even if only the attached buffer
changed) will lead to another configure event, which will lead to another
commit, etc.
This loop results in swaybg consuming 100% CPU.
Co-authored-by: Owen Rafferty <owen@owenrafferty.com>
new functions ecalloc() and die()
die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
check `m` in commitlayersurfacenotify()
implement input-inhibitor protocol
implement idle-inhibitor protocol
This allows clients to disable idle monitoring
fix drag icon's surface returned by xytonode
set position of the drag icon in startdrag()
inline the presentation variable
This variable can be removed since with scene-graph
wlr_presentation_surface_sampled_on_output no longer needs to be called.
Fix dwl freezing when resizing
Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
clients now works as expected in drag motion
implement drag and drop
For brevity, only a single drag icon at a time is supported.
Co-authored-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
only skip frames if there are visible clients that have a resize
remove a useless resize in mapnotify()
applyrules() calls setmon() which calls resize()
destroy scene_output in cleanupmon()
Merge pull request #204 from djpohly/scenegraph3
merge scenegraph3