mirror of
https://github.com/brl/mutter.git
synced 2024-12-02 21:00:42 -05:00
56beedf9f2
This is kind of in a middle ground at the moment. Even though it handles sequences not coming from libsn, they're added nowhere at the moment, we'll rely on the app launch context being in the x11 side at the moment. Also, even though we do create internal sequence objects, we keep exposing SnStartupSequences to make gnome-shell happy, we could consider making this object "public" (and the sequence objects with it), things stay private at the moment. https://bugzilla.gnome.org/show_bug.cgi?id=762268
49 lines
1.9 KiB
C
49 lines
1.9 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
/*
|
|
* Copyright (C) 2001, 2002 Havoc Pennington
|
|
* Copyright (C) 2002, 2003 Red Hat Inc.
|
|
* Some ICCCM manager selection code derived from fvwm2,
|
|
* Copyright (C) 2001 Dominik Vogt, Matthias Clasen, and fvwm2 team
|
|
* Copyright (C) 2003 Rob Adams
|
|
* Copyright (C) 2004-2006 Elijah Newren
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef META_STARTUP_NOTIFICATION_PRIVATE_H
|
|
#define META_STARTUP_NOTIFICATION_PRIVATE_H
|
|
|
|
#include "display-private.h"
|
|
|
|
#define META_TYPE_STARTUP_NOTIFICATION (meta_startup_notification_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (MetaStartupNotification,
|
|
meta_startup_notification,
|
|
META, STARTUP_NOTIFICATION,
|
|
GObject)
|
|
|
|
MetaStartupNotification *
|
|
meta_startup_notification_get (MetaDisplay *display);
|
|
|
|
gboolean meta_startup_notification_handle_xevent (MetaStartupNotification *sn,
|
|
XEvent *xevent);
|
|
|
|
void meta_startup_notification_remove_sequence (MetaStartupNotification *sn,
|
|
const gchar *id);
|
|
|
|
GSList * meta_startup_notification_get_sequences (MetaStartupNotification *sn);
|
|
|
|
#endif /* META_STARTUP_NOTIFICATION_PRIVATE_H */
|