mutter/src
Giovanni Campagna 389e04c715 MetaIdleMonitor: fire immediately watches that are already expired
The XSync semantics mandate that alarms already expired will not
fire until the counter is reset and the alarm triggered again, so
clients traditionally called get_idle_time() first to see if they
should install the alarm.
This is inherently racy, as by the time the call is handled by
mutter and the reply received the idle time could be different.
Instead, if we see that the watch would have fired in the past,
fire it immediately.

This is a behavior change, but it's a compatible one, as all legacy
clients are calling get_idle_time() first, and it was perfectly
possible for the idle time counter to trigger the alarm right
after the get_idle_time() call.

https://bugzilla.gnome.org/show_bug.cgi?id=707302
2013-09-16 22:42:22 +02:00
..
compositor wayland: implement resizing and maximization for wayland clients 2013-09-16 14:46:34 +02:00
core MetaIdleMonitor: fire immediately watches that are already expired 2013-09-16 22:42:22 +02:00
meta display: add support for more cursor types 2013-09-12 10:18:20 +02:00
ui Fix regression in mutter-wayland translations 2013-09-11 16:01:07 +02:00
wayland mutter-launch: fix for more systemd API changes 2013-09-16 17:30:45 +02:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
50-mutter-navigation.xml.in Add 'switch-applications' keybinding 2012-12-05 18:45:22 +01:00
50-mutter-system.xml.in keybindings: Import keybinding files from Metacity 2012-11-12 19:27:35 +01:00
50-mutter-windows.xml.in keybindings: Rebrand "minimize" as "hide" 2013-01-11 16:22:29 +01:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
idle-monitor.xml MetaIdleMonitor: add a DBus interface for the idle monitor 2013-08-23 16:34:02 +02:00
libmutter-wayland.pc.in wayland: make parallel installable with regular mutter 2013-08-26 15:00:29 +02:00
Makefile.am MonitorManager: add a KMS backend 2013-09-16 00:34:48 +02:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
mutter-schemas.convert Remove live-hidden-windows from mutter-schemas.convert 2012-04-26 02:37:34 -04:00
mutter-wayland.desktop.in Add an option to run as a wayland compositor 2013-09-11 16:00:47 +02:00
org.gnome.mutter.gschema.xml.in settings: Clarifiy auto_maximize language 2013-02-14 20:04:08 +01:00
org.gnome.mutter.wayland.gschema.xml.in Add keybindings for switching VTs 2013-08-30 10:32:55 +02:00
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
xrandr.xml MonitorManager: return the new backlight after changing 2013-08-27 09:58:50 +02:00