* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
_gdk_wayland_display_deliver_event (GdkDisplay *display, GdkEvent *event)
{
GList *node;
- static int serial;
node = _gdk_event_queue_append (display, event);
- _gdk_windowing_got_event (display, node, event, serial++);
+ _gdk_windowing_got_event (display, node, event,
+ _gdk_display_get_next_serial (display));
}
GSource *