Commit graph

3 commits

Author SHA1 Message Date
hujianwei
ecac908923 Fix some comments
* drm_lease.c:
* subcompositor.c (ViewUnparent):
* xdata.c (NoticeTransferWritable): Remove obsolete TODO
comments.
2022-11-14 01:12:49 +00:00
hujianwei
edfdc76f6d Implement idle_inhibit_unstable_v1
* 12to11.c (XLMain): Initialize idle inhibition.
* 12to11.man: Document new resources.
* Imakefile (SRCS): Add idle_inhibit.c and process.c.
(OBJS): Add idle_inhibit.o and process.o.
(idle-inhibit-unstable-v1): New scanner target.
* README: Explain what is now supported.
* compositor.h (enum _ClientDataType): Add IdleInhibitData.
(struct _Surface): Keep track of the number of focused seats.
* fns.c (UnblockSigbus): Fix unblocking of SIGBUS.
(XLAddFdFlag): New function.
* picture_renderer.c (GetRenderDevice):
* seat.c (WriteKeymap):
* drm_lease.c (AddProvider): Make various file descriptors
close-on-exec.
* run.c (RunStep): Change poll function to one that applies the
result of SIGCHLD.
* surface.c (XLSurfaceNoteFocus): Keep track of the number of
focused seats and call idle inhibit hooks when that changes.
2022-10-22 04:47:51 +00:00
oldosfan
7f1d2b4046 Update files for DRM leasing
* drm-lease-v1.xml:
* drm_lease.c: New files.
* libraries.def: Remove.
2022-10-12 12:22:39 +00:00