delete.c File Reference

Go to the source code of this file.

Defines

#define _GNU_SOURCE
#define _SVID_SOURCE

Functions

static void meta_window_present_delete_dialog (MetaWindow *window, guint32 timestamp)
static void delete_ping_reply_func (MetaDisplay *display, Window xwindow, guint32 timestamp, void *user_data)
static Window window_from_string (const char *str)
static int pid_from_string (const char *str)
static gboolean parse_dialog_output (const char *str, int *pid_out, Window *win_out)
static void search_and_destroy_window (int pid, Window xwindow)
static void release_window_with_fd (int fd)
static gboolean io_from_ping_dialog (GIOChannel *channel, GIOCondition condition, gpointer data)
static void delete_ping_timeout_func (MetaDisplay *display, Window xwindow, guint32 timestamp, void *user_data)
void meta_window_delete (MetaWindow *window, guint32 timestamp)
void meta_window_kill (MetaWindow *window)
void meta_window_free_delete_dialog (MetaWindow *window)


Define Documentation

#define _GNU_SOURCE

Definition at line 25 of file delete.c.

#define _SVID_SOURCE

Definition at line 26 of file delete.c.


Function Documentation

static void delete_ping_reply_func ( MetaDisplay display,
Window  xwindow,
guint32  timestamp,
void *  user_data 
) [static]

Definition at line 46 of file delete.c.

References META_DEBUG_PING.

Referenced by meta_window_delete().

static void delete_ping_timeout_func ( MetaDisplay display,
Window  xwindow,
guint32  timestamp,
void *  user_data 
) [static]

static gboolean io_from_ping_dialog ( GIOChannel *  channel,
GIOCondition  condition,
gpointer  data 
) [static]

void meta_window_delete ( MetaWindow window,
guint32  timestamp 
)

void meta_window_free_delete_dialog ( MetaWindow window  ) 

Definition at line 459 of file delete.c.

References _MetaWindow::dialog_pid, and _MetaWindow::dialog_pipe.

Referenced by meta_window_free(), and release_window_with_fd().

void meta_window_kill ( MetaWindow window  ) 

static void meta_window_present_delete_dialog ( MetaWindow window,
guint32  timestamp 
) [static]

static gboolean parse_dialog_output ( const char *  str,
int *  pid_out,
Window *  win_out 
) [static]

Definition at line 113 of file delete.c.

References _, FALSE, meta_warning(), pid_from_string(), TRUE, and window_from_string().

Referenced by io_from_ping_dialog().

static int pid_from_string ( const char *  str  )  [static]

Definition at line 86 of file delete.c.

References _, meta_warning(), and NULL.

Referenced by parse_dialog_output().

static void release_window_with_fd ( int  fd  )  [static]

static void search_and_destroy_window ( int  pid,
Window  xwindow 
) [static]

static Window window_from_string ( const char *  str  )  [static]

Definition at line 59 of file delete.c.

References _, meta_warning(), and NULL.

Referenced by on_realize(), and parse_dialog_output().


Generated on Sat Aug 23 22:04:19 2008 for metacity by  doxygen 1.5.5