make XWayland clients inherit tags and monitors
Revert 3213088 because the linked bug can no longer be reproduced with
wlroots 0.17, and update client_get_parent() so it doesn't segfault with
XWayland surfaces. This also allows reusing the p variable in the next
commit.
remove useless wlr_scene_node_reparent() calls
These don't do anything because wlr_scene_node_reparent() is immediately
called again by setfloating() through setmon(). They are also a source
of confusion because if you change the wlr_scene_node_reparent() call in
applyrules() it takes a while to understand why it doesn't work.
Correct specifier-data_type mismatches
configure xwayland surfaces without monitors
For wine clients often configurex11() is called before mapnotify() and
therefore c->mon is NULL. configurex11 just returns early in that case,
letting these clients stay in the wrong size. For example only the top
left part of winecfg and wine uninstaller is drawn, or confirmation
dialogs like when closing wine notepad are too big. Fix this by
configuring their surfaces like before 88d386b.
implement the virtual pointer protocol
This is used by programs like warpd.
No need to call updatemons ourselves
The output manager in wlroots emits an output_layout.change event when
anything changes, so updatemons will be called anyway.
ΔSLOC: -1
request description before logs
turn on -Wfloat-conversion
acknowledgements refactoring
clarify the code will be kept as small as possible
check if monitor is null before setting gamma
fixes segfault on monitor disconnect when using wlsunset
prefer functionality over philosophy
add acknowledgment to djpohly
Destroy fullscreen node after moving clients off mon
fix posible NULL-dereference in wl_surface.commit handler