schedule a configure on maximize request
see maximizenotify() for more info
replace deleted EBARF() with die()
Merge remote-tracking branch 'djpohly/main' into HEAD
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>
Merge pull request #212 from djpohly/xwaitland
make sure to leave XWayland process waitable
move sigchld() into XWayland section
make sure to leave XWayland process waitable
On SIGCHLD, check to make sure the terminated process is not the
XWayland process before reaping it, allowing wlroots to waitpid() for it
successfully.
Fixes #177.
new functions ecalloc() and die()
die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
createpointer now takes wlr_pointer
createkeyboard now takes wlr_keyboard
check `m` in commitlayersurfacenotify()
implement input-inhibitor protocol
implement idle-inhibitor protocol
This allows clients to disable idle monitoring
destroy scene_output in cleanupmon()
fix drag icon's surface returned by xytonode