| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately while the standard says that <sys/types.h> is the
correct header to get suseconds_t, at least with glibc, that requires
-DXOPEN_SOURCE. Which is problematic for a public header, because
then all *users* of startup-notification will be required to define
that.
Poking around a bit, it looks like at least with glibc, <sys/select.h>
will give us an unconditional define.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an ABI change on platforms where sizeof(time_t) doesn't equal
sizeof(long). For most platforms this change shouldn't make a difference
at present. OpenBSD recently switched to 64bit time_t on all architectures
to avoid time_t overflow in 2038 on 32bit machines.
This fix extends to consumers of startup-notification, for instance
the window manager of XFCE, which is how I got involved in this.
See http://mail.xfce.org/pipermail/xfce4-dev/2014-February/030611.html
and follow-ups. The XFCE devs pointed out that my patch to fix a
crash in XFCE's window manager depends on this startup-notification patch.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
|
| |
For moving GNOME to an application-based system, it's useful if
launcher systems say which .desktop file they're launching, so
that we can show it as the current focus even while a launch is
in progress.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
startup_id for the startup sequence).
Add timestamp field to the SnLauncherContext struct,
(sn_launcher_context_new): initialize timestamp to 0,
(sn_launcher_context_initiate): Make timestamp part of the startup
sequence message,
Add timestamp field to the SnStartupSequence struct,
(sn_startup_sequence_get_timestamp): new function,
(sn_startup_sequence_new): set timestamp from startup sequence message,
if found,
new function,
new function (main): Make the test-launcher example provide a valid
timestamp, obtained from new slowly_obtain_timestamp function
|
|
|
|
|
|
|
| |
bump version to 0.4 (not releasing yet though)
new function so the WM or tasklist can time out a sequence.
(xmessage_func): add support for SCREEN field, kill the startup
sequence immediately if SCREEN isn't provided.
|
|
|
|
|
|
|
| |
new function (sn_startup_sequence_get_last_active_time): new function
-DSN_API_NOT_YET_FROZEN=1
put in the little API-not-frozen warning.
rename to "libstartup-notification" instead of "libsn"
|
|
|
|
|
|
|
|
|
| |
port to new setup, and blow away all monitoring stuff, just use
sn-monitor.h
make it all multihead-safe
port to new setup and strip the other stuff out
s/DESKTOP_LAUNCH_ID/DESKTOP_STARTUP_ID/ for env variable, add
_NET_STARTUP_ID window manager hint.
|
| |
|
|
|