summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* autogen.sh: Honor NOCONFIGURE=1HEADmasterColin Walters2014-02-181-1/+3
| | | | | | See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Julien Danjou <julien@danjou.info>
* Add include of <sys/select.h> for previous patchColin Walters2014-02-181-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>
* Fix crash on 32bit architectures where time_t is 64 bitFederico G. Schwindt2014-02-172-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>
* add homepage URL in READMEJulien Danjou2011-08-241-0/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Enhance configure error on packages not foundStefan Kost2011-08-241-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>
* Update NEWS and bump versionSTARTUP_NOTIFICATION_0_12Julien Danjou2011-05-162-1/+6
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Revert prototype change for sn_launchee_context_setup_window()Julien Cristau2011-05-162-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>
* Update NEWS, bump versionSTARTUP_NOTIFICATION_0_11Julien Danjou2011-05-052-1/+7
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Drop Xlib native code, use x11-xcbJulien Danjou2010-06-0311-400/+275
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Use predefined atoms to decrease latencyJulien Danjou2010-05-251-9/+3
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Update test suite for xcb >= 1.6Julien Danjou2010-05-242-2/+2
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Fix sn-launcher not using screen numberJulien Danjou2010-05-241-0/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Support APPLICATION_ID keyColin Walters2010-03-265-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>
* Do not build tests unless required.Gilles Dartiguelongue2009-07-271-1/+1
| | | | | | Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=226257 Signed-off-by: Julien Danjou <julien@danjou.info>
* improve documentation for sn_display_get_x_connection()Julien Danjou2009-04-151-0/+4
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* enhance sn_xcb_display_new documentationJulien Danjou2009-04-151-6/+5
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* update NEWSSTARTUP_NOTIFICATION_0_10Julien Danjou2009-04-131-0/+6
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* do not include config.hJulien Danjou2009-04-031-4/+0
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* XCB is no more an optionJulien Danjou2009-04-037-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>
* Add XCB unit testsJulien Danjou2009-04-037-1/+572
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Add XCB backendJulien Danjou2009-04-038-103/+532
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Split sn_internal_xmessage_process_eventJulien Danjou2009-04-031-23/+26
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Move message retrieval and creation to get_or_add_message()Julien Danjou2009-04-031-13/+28
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Move message filling into message_set_message()Julien Danjou2009-04-031-30/+33
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Move SnXmessage creation in a static functionJulien Danjou2009-04-031-7/+12
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Only store Window in FindMessageDataJulien Danjou2009-04-031-3/+3
| | | | | | This is enough, we do not need to store the full XEvent. Signed-off-by: Julien Danjou <julien@danjou.info>
* Anonymize display type into an generic idJulien Danjou2009-04-034-8/+24
| | | | | | | This allows to handle identification of the connection without using any Xlib defined type. Signed-off-by: Julien Danjou <julien@danjou.info>
* Remove useless xdisplay property from FindMessageDataJulien Danjou2009-04-031-2/+0
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Add sn_internal_display_get_screen_number ()Julien Danjou2009-04-033-1/+16
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* add sn_internal_display_get_root_window()Julien Danjou2009-04-033-2/+24
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* simplify sn_internal_monitor_process_event protoJulien Danjou2009-04-033-5/+3
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Remove unused function from sn-xutilsJulien Danjou2009-04-032-466/+0
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* post-release bump to 0.10.Elijah Newren2007-03-172-1/+5
|
* Version 0.9STARTUP_NOTIFICATION_0_9Elijah Newren2007-03-172-0/+10
|
* Patch from Laszlo Peter atElijah Newren2007-03-172-2/+9
| | | | | http://bugzilla.gnome.org/show_bug.cgi?id=392801, replacing __FUNCTION__ with __func__ to increase portability.
* Commit a forgotten patch that was agreed on a long time ago on the wm-specLubos Lunak2006-08-101-0/+6
| | | | list.
* Fix description of StartupWMClass, improve description of StartupNotify.Lubos Lunak2006-08-091-1/+6
|
* Added LAUNCHED_BYLubos Lunak2006-02-071-0/+6
| | | | | (http://mail.gnome.org/archives/wm-spec-list/2006-January/msg00018.html ).
* Based on fix from Aivars Kalvans <aivars.kalvans@inbox.lv>Mark McLoughlin2005-03-072-0/+8
| | | | Unref the SnDisplay.
* plug leak (append_string_to_list): don't strdup() @append.Mark McLoughlin2005-02-282-4/+12
|
* post-release bump to 0.9.Mark McLoughlin2004-11-102-1/+5
|
* Version 0.8STARTUP_NOTIFICATION_0_8Mark McLoughlin2004-11-102-0/+10
|
* use and require automake 1.7.Mark McLoughlin2004-11-104-21/+22
| | | | | modernise a bit. remove, not needed anymore.
* spaces before parensHavoc Pennington2004-10-271-1/+1
|
* //bugzilla.gnome.org/show_bug.cgi?id=151245 to support new focus stealingHavoc Pennington2004-10-278-16/+145
| | | | prevention stuff.
* Data from "change:" messages is used even before matching "new:" message.Lubos Lunak2004-10-111-8/+19
|
* TIMESTAMP now included in ID, as agreed upon on the wm-spec-list@ list.Lubos Lunak2004-10-111-0/+15
|
* post-release bump to 0.8.Mark McLoughlin2004-06-242-1/+5
|
* Version 0.7.STARTUP_NOTIFICATION_0_7Mark McLoughlin2004-06-242-0/+9
|
* Make a timestamp be part of the startup sequence (and not just part of theMark McLoughlin2004-06-245-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