Age | Commit message (Collapse) | Author | Files | Lines |
|
Based on gnome-session commit: b9fa0c8c9ff57f704d83dfd1f7b4ae0c19280edf
From: Kjartan Maraas <[email protected]>
|
|
In _xsync_alarm_set(), the positive and negative transition intervals
are set to the same value. However, the SYNC extension defines the
positive transition as set when the counter goes from strictly below the
threshold to greater than or equal to the threshold and similarly a
negative transition is triggered when the counter goes form strictly
greater than the threshold to less than or equal to the threshold.
Thus in the current set up there's a chance that the positive transition
can trigger, marking the session as idle, and some user input occur on
the same click so the IDLETIME count will hit the threshold but not go
above so the negative transition will not trigger. Thus the session will
not be marked as active.
The negative transition threshold should be set to 1ms less than the
positive transition to ensure that it always fires.
Based on gnome-session commit: 861313503a741f0129611ca005cf6d7c27124b54
From: Christopher Halse Rogers <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=627903
|
|
Based on gnome-session commit:fa30b73948c50c2493e19565b4e3b14b40f985e1
From: Vincent Untz <[email protected]>
|
|
Based on gnome-session commit: 899fe6b1628cd2d86931632f72512bca04d2aeaf
From: Vincent Untz <[email protected]>
|
|
|
|
|
|
On top of that, be a bit paranoid and ensure we don't log out in
end_phase() by checking the lockdown setting there too.
Based on gnome-session-commit: 107cfa7a4f6f43698407772e31472d742bdb219f
From: Vincent Untz <[email protected]>
|
|
Taken from gnome-session commit: 1e3e0b475cfd352d4abe7ace4ee5a40be04a8b42
From: Ray Strode <[email protected]>
|
|
When we get a logout request, there are two bits of information
that come with the request:
1) Whether or not we should seek confirmation by default from the user
before proceeding
2) Whether or not individual applications should be given an
opportunity to ask us to seek confirmation from the user before
proceeding.
We track the latter in a boolean state variable (forceful_logout),
but not the former.
We already have an enumeration type (GsmManagerLogoutMode) that can
be used to track both bits, though.
This commit changes the boolean state variable to the enum type, so
the whether-we-should-confirmation information is available deeper
down in the logout process.
Based on gnome-session commit: d7adaa9111d0f42d11225c7e29a7ee1d37d74d2f
From: Ray Strode <[email protected]>
|
|
gdk_x11_set_sm_client_id was added in Gtk+ 2.24
|
|
If logout is forced, we don't want to show the inhibitor dialog.
A forced logout is one that shouldn't be "cancelable".
This commit prevents inhibitors from getting added if logout is
forced.
Based on gnome-session commit: bf1b6e8843b5e72d4f5a62a34eb322b82e33c2df
From: Ray Strode <[email protected]>
|
|
When the session manager enters the query end session phase,
it temporarily adds all clients to the "query clients" list.
This list is used to track the progression of clients quitting.
If a client quits during the query end session phase instead
of waiting until the end session phase, then it will get
destroyed but not get removed from the query clients list.
This commit removes it from the query clients list in this
case. It does this by explicitly invoking the end session
response handler (in effect, the client responded to the
end session query by exiting).
based on gnome-session commit: 8e6afcf1789c02692cf3b1ff3ee0a792d57e17a3
From: Ray Strode <[email protected]>
|
|
|
|
Based on gnome-session commit: 880379a8dd7181351ba49c579a5278d19eadc6b3
From Ryan Lortie <[email protected]>
|
|
|
|
Fix invisible session properties dialog when running with gtk-3.14
Closes https://github.com/mate-desktop/mate-session-manager/pull/63
|
|
XDG_CURRENT_DESKTOP is used by glib >= 2.42 at g_desktop_app_info* functions
Original GNOME commit: https://git.gnome.org/browse/gnome-session/commit/?id=1db085ce7e5197b28ab24a3ec54d888efe98fcb4
Closes https://github.com/mate-desktop/mate-session-manager/pull/62
|
|
Get rid of Gtk-WARNING **: Unknown property: GtkHBox.expand
|
|
|
|
|
|
|
|
|
|
0 disables timeout
|
|
|
|
|
|
|
|
|
|
restore DISPLAY variable
|
|
|
|
|
|
The following functions are available in version 2 and 3.
gdk_display_get_default
GDK_DISPLAY_XDISPLAY
gdk_display_get_name
gdk_display_get_default
|
|
|
|
|
|
|
|
|
|
This reverts commit 80be90bb422ef8cb5a28c7ff3fe2a337dce8c368.
|
|
|
|
|
|
Update org.mate.SessionManager.xml
|
|
Patch by Mike Gabriel <[email protected]>
|
|
Fixed a typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix build with --disable-upower
|
|
|