summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-18autogen.sh: Honor NOCONFIGURE=1HEADmasterColin Walters1-1/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Julien Danjou <julien@danjou.info>
2014-02-18Add include of <sys/select.h> for previous patchColin Walters1-0/+1
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>
2014-02-17Fix crash on 32bit architectures where time_t is 64 bitFederico G. Schwindt2-8/+8
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>
2011-08-24add homepage URL in READMEJulien Danjou1-0/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-08-24Enhance configure error on packages not foundStefan Kost1-8/+4
= before = checking for xcb... no configure: error: Cannot find xcb = after = checking for xcb... no configure: error: Package requirements (xcb >= 1.6) were not met: Requested 'xcb >= 1.6' but version of XCB is 1.5 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables xcb_CFLAGS and xcb_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-16Update NEWS and bump versionSTARTUP_NOTIFICATION_0_12Julien Danjou2-1/+6
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-16Revert prototype change for sn_launchee_context_setup_window()Julien Cristau2-3/+3
A window is 32bit on the wire, but Xlib's Window is an unsigned long, whereas xcb_window_t is uint32_t, so that change in 1f8260481453cd7632225a3a2ae9c4b090d25241 broke ABI. Revert back to using Window in the public API. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-05Update NEWS, bump versionSTARTUP_NOTIFICATION_0_11Julien Danjou2-1/+7
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-03Drop Xlib native code, use x11-xcbJulien Danjou11-400/+275
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-25Use predefined atoms to decrease latencyJulien Danjou1-9/+3
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-24Update test suite for xcb >= 1.6Julien Danjou2-2/+2
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-24Fix sn-launcher not using screen numberJulien Danjou1-0/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-26Support APPLICATION_ID keyColin Walters5-5/+53
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>
2009-07-27Do not build tests unless required.Gilles Dartiguelongue1-1/+1
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=226257 Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15improve documentation for sn_display_get_x_connection()Julien Danjou1-0/+4
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15enhance sn_xcb_display_new documentationJulien Danjou1-6/+5
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-13update NEWSSTARTUP_NOTIFICATION_0_10Julien Danjou1-0/+6
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03do not include config.hJulien Danjou1-4/+0
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03XCB is no more an optionJulien Danjou7-86/+9
This is the simplest way to have an ABI which does not depend on a compilation option, which is bad. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Add XCB unit testsJulien Danjou7-1/+572
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Add XCB backendJulien Danjou8-103/+532
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Split sn_internal_xmessage_process_eventJulien Danjou1-23/+26
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Move message retrieval and creation to get_or_add_message()Julien Danjou1-13/+28
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Move message filling into message_set_message()Julien Danjou1-30/+33
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Move SnXmessage creation in a static functionJulien Danjou1-7/+12
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Only store Window in FindMessageDataJulien Danjou1-3/+3
This is enough, we do not need to store the full XEvent. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Anonymize display type into an generic idJulien Danjou4-8/+24
This allows to handle identification of the connection without using any Xlib defined type. Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Remove useless xdisplay property from FindMessageDataJulien Danjou1-2/+0
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Add sn_internal_display_get_screen_number ()Julien Danjou3-1/+16
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03add sn_internal_display_get_root_window()Julien Danjou3-2/+24
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03simplify sn_internal_monitor_process_event protoJulien Danjou3-5/+3
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03Remove unused function from sn-xutilsJulien Danjou2-466/+0
Signed-off-by: Julien Danjou <julien@danjou.info>
2007-03-17post-release bump to 0.10.Elijah Newren2-1/+5
2007-03-17Version 0.9STARTUP_NOTIFICATION_0_9Elijah Newren2-0/+10
2007-03-17Patch from Laszlo Peter atElijah Newren2-2/+9
http://bugzilla.gnome.org/show_bug.cgi?id=392801, replacing __FUNCTION__ with __func__ to increase portability.
2006-08-10Commit a forgotten patch that was agreed on a long time ago on the wm-specLubos Lunak1-0/+6
list.
2006-08-09Fix description of StartupWMClass, improve description of StartupNotify.Lubos Lunak1-1/+6
2006-02-07Added LAUNCHED_BYLubos Lunak1-0/+6
(http://mail.gnome.org/archives/wm-spec-list/2006-January/msg00018.html ).
2005-03-07Based on fix from Aivars Kalvans <aivars.kalvans@inbox.lv>Mark McLoughlin2-0/+8
Unref the SnDisplay.
2005-02-28plug leak (append_string_to_list): don't strdup() @append.Mark McLoughlin2-4/+12
2004-11-10post-release bump to 0.9.Mark McLoughlin2-1/+5
2004-11-10Version 0.8STARTUP_NOTIFICATION_0_8Mark McLoughlin2-0/+10
2004-11-10use and require automake 1.7.Mark McLoughlin4-21/+22
modernise a bit. remove, not needed anymore.
2004-10-27spaces before parensHavoc Pennington1-1/+1
2004-10-27//bugzilla.gnome.org/show_bug.cgi?id=151245 to support new focus stealingHavoc Pennington8-16/+145
prevention stuff.
2004-10-11Data from "change:" messages is used even before matching "new:" message.Lubos Lunak1-8/+19
2004-10-11TIMESTAMP now included in ID, as agreed upon on the wm-spec-list@ list.Lubos Lunak1-0/+15
2004-06-24post-release bump to 0.8.Mark McLoughlin2-1/+5
2004-06-24Version 0.7.STARTUP_NOTIFICATION_0_7Mark McLoughlin2-0/+9
2004-06-24Make a timestamp be part of the startup sequence (and not just part of theMark McLoughlin5-3/+113
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