marco 1.29.1
Window manager
Loading...
Searching...
No Matches
delete.c File Reference
View source
#include <config.h>
#include <glib/gi18n-lib.h>
#include "util.h"
#include "window-private.h"
#include "errors.h"
#include "workspace.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for delete.c:

Macros

#define _GNU_SOURCE
 
#define _XOPEN_SOURCE   /* for gethostname() and kill() */
 

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 void dialog_exited (GPid pid, int status, gpointer user_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)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE   /* for gethostname() and kill() */

Function Documentation

◆ delete_ping_reply_func()

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

References META_DEBUG_PING.

Referenced by meta_window_delete().

◆ delete_ping_timeout_func()

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

References _, _MetaWindow::desc, dialog_exited(), _MetaWindow::dialog_pid, META_DEBUG_PING, meta_show_dialog(), meta_window_present_delete_dialog(), NULL, _MetaWindow::screen, _MetaScreen::screen_name, _MetaWindow::title, and _MetaWindow::xwindow.

Referenced by meta_window_delete().

Here is the call graph for this function:

◆ dialog_exited()

static void dialog_exited ( GPid  pid,
int  status,
gpointer  user_data 
)
static

References _MetaWindow::dialog_pid, and meta_window_kill().

Referenced by delete_ping_timeout_func().

Here is the call graph for this function:

◆ meta_window_delete()

void meta_window_delete ( MetaWindow *  window,
guint32  timestamp 
)

◆ meta_window_free_delete_dialog()

void meta_window_free_delete_dialog ( MetaWindow *  window)

References _MetaWindow::dialog_pid.

Referenced by meta_window_free().

◆ meta_window_kill()

void meta_window_kill ( MetaWindow *  window)

References _, _MetaWindow::desc, _MetaWindow::display, FALSE, META_DEBUG_WINDOW_OPS, meta_error_trap_pop(), meta_error_trap_push(), meta_warning(), _MetaWindow::net_wm_pid, NULL, _MetaWindow::wm_client_machine, _MetaDisplay::xdisplay, and _MetaWindow::xwindow.

Referenced by dialog_exited().

Here is the call graph for this function:

◆ meta_window_present_delete_dialog()

static void meta_window_present_delete_dialog ( MetaWindow *  window,
guint32  timestamp 
)
static

References _MetaWindow::desc, _MetaWindow::dialog_pid, _MetaWindow::display, META_DEBUG_PING, meta_display_list_windows(), meta_window_activate(), NULL, _MetaWindow::res_class, windows, _MetaWindow::xtransient_for, and _MetaWindow::xwindow.

Referenced by delete_ping_timeout_func().

Here is the call graph for this function: