Age | Commit message (Collapse) | Author | Files | Lines |
|
this commit also adds GetSessionService so that the session
service can be queried over dbus
|
|
|
|
make consolekit2 not spam the syslog with an unimportant error
|
|
cleanup the code a bit to avoid confusion
|
|
|
|
|
|
ck_inhibit_remove_lock() will end up emitting a changed signal
so disconnecting the signal handler before that is not a good
idea
|
|
get_named_pipe_path does not require the 'who' argument anymore
|
|
|
|
change the inhibitor lock handling to use the named_pipe_path as a re…
|
|
since one process can take multiple inhibitor locks make sure that the correct
entry gets removed from the inhibit_list by using 'named_pipe_path' to find
the proper entry instead of 'who' because that is not unique
|
|
- open the proper configuration device (so getty doesn't mess with consoles)
- remove unused header
- g_return_val_if_fail: print full path to device
- simplify stat2proc
- fix ck_get_max_num_consoles
- enable VT on arm64
- implement ck_system_can_suspend and ck_system_can_hibernate
|
|
OpenBSD only allows change-setting ioctls when FWRITE is set on
the descriptor.
|
|
|
|
The vfs/tmpfs/tmpfs_mount.h file must be present on DragonFlyBSD
for tmpfs mounts to properly work.
|
|
|
|
|
|
The previous version of the code assumed that DragonFly
supports passing a string of options to mount(2). This
is not the case and so this lead to a bug where a user's
tmpfs was created with invalid ownership and mode.
We now correctly pass a struct of type tmpfs_mount_info.
The struct is only exported as of DragonFly 5.1 and newer,
so this code will only build on a recent version of DragonFly.
|
|
This adds a logind-compatible ListSeats method to the ConsoleKit.Manager
interface. This is needed because the seat name does not always exactly
map to the object path (for instance, /Seat1 is 'seat0').
This also allows SDDM to work properly with ConsoleKit2.
|
|
|
|
|
|
|
|
return 'Seat1', '/org/freedesktop/ConsoleKit/Seat1' instead of the
object path twice.
|
|
This way a program can query whether CK2 can actually do the
Session Controller stuff before attempting to call TakeControl.
|
|
As an example, this allows you to be on VT2 and switch to VT5
which isn't currently being used for anything.
|
|
It won't be used until a session controller backend is built for
OpenBSD but it will be one step less to add.
|
|
To fix compiling on OpenIndiana.
|
|
To fix compiling on FreeBSD.
|
|
This is based heavily on the work of Jesper Schmitz Mouridsen in:
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179399&action=diff
from:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202269
Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/85
|
|
This way they can be marked active.
|
|
|
|
|
|
|
|
Such as VT_RELDISP, rather than a specific header file. This will
fix VT calls not being built on FreeBSD.
|
|
|
|
And remove -Wredundant-decls from build warnings
|
|
Ensure all the new methods and properies get added to the tests.
|
|
Otherwise there's no way for a DM to set it.
|
|
CK2 will change this property dynamically depending on if the
session is active or online. At some point we may also provide the
"closing" state as well but it's currently unused. This property
maps to the logind state.
|
|
This adds a session-class property to the CK2 Session. It maps
to the class property of logind.
|
|
|
|
|
|
|
|
Pull in the m4 macros from the xfce4-dev-tools so
we have ways to simplify and shorten the configure.ac
file.
|
|
This method call simple returns the VTNr property but may be useful
to applications that don't want to connect to all the dbus properies
to query just that one.
|
|
Using the same ones logind does for compatibility. Additionally,
default to "unspecified" if no type is set instead of an empty
string.
|
|
To ConsoleKit Manager interface. Programs like GDM are using
these calls with logind so this will make adding CK2 support
easier.
|
|
To ConsoleKit Manager interface. Programs like GDM are using
these calls with logind so this will make adding CK2 support
easier.
|
|
It produces a warning message and doesn't have much overhead
anyway.
Fixes: https://github.com/ConsoleKit2/ConsoleKit2/issues/72
|
|
This adds a LockedHint property to ConsoleKit.Session and a
SetLockedHint dbus method to change it. The SetLockedHint method
is resitricted to the user that owns the session.
For: https://github.com/ConsoleKit2/ConsoleKit2/issues/89
|