Fix for bug : 6198538, pressing the suspend key more than once resulted
in the launching of gnome-sys-suspend for each pressing of the suspend
key.

This fix uses code already implemented in tsol to check if there is another
instance running using a dummy window and XSetSelection.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-sys-suspend-04-already-running.diff
Type: text/x-patch
Size: 2061 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20070301/a06ec343/attachment.bin>

Reply via email to