- few comments about further Wayland porting
This commit is contained in:
parent
7a88575900
commit
7621a79dbe
@ -12,6 +12,8 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
|
|
||||||
|
// This requires sudo apt install libxss-dev
|
||||||
#include <X11/extensions/scrnsaver.h> // This can require libxss-dev to be installed
|
#include <X11/extensions/scrnsaver.h> // This can require libxss-dev to be installed
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
@ -92,6 +94,8 @@ int get_idle_time_wayland()
|
|||||||
// https://dev.gajim.org/gajim/gajim/-/commit/2e5d966f1d715f20f112dd9370f6ccd13fcaeca9
|
// https://dev.gajim.org/gajim/gajim/-/commit/2e5d966f1d715f20f112dd9370f6ccd13fcaeca9
|
||||||
// https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/29
|
// https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/29
|
||||||
// https://github.com/NilsBrause/waylandpp
|
// https://github.com/NilsBrause/waylandpp
|
||||||
|
// Wayland protocol: idle-inhibit
|
||||||
|
// Interact with Wayland: look on waylandpp project
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user