Back to index

bamf  0.2.120
Classes | Defines | Enumerations | Functions | Variables
bamf-window.c File Reference
#include "bamf-application.h"
#include "bamf-window.h"
#include "bamf-legacy-screen.h"

Go to the source code of this file.

Classes

struct  _BamfWindowPrivate

Defines

#define BAMF_WINDOW_GET_PRIVATE(obj)

Enumerations

enum  { PROP_0, PROP_WINDOW }

Functions

static void bamf_window_dbus_iface_init (BamfDBusItemWindowIface *iface)
 G_DEFINE_TYPE_WITH_CODE (BamfWindow, bamf_window, BAMF_TYPE_VIEW, G_IMPLEMENT_INTERFACE(BAMF_DBUS_ITEM_TYPE_WINDOW, bamf_window_dbus_iface_init))
BamfLegacyWindow * bamf_window_get_window (BamfWindow *self)
BamfWindow * bamf_window_get_transient (BamfWindow *self)
const char * bamf_window_get_transient_path (BamfWindow *self)
guint32 bamf_window_get_window_type (BamfWindow *window)
guint32 bamf_window_get_pid (BamfWindow *window)
guint32 bamf_window_get_xid (BamfWindow *window)
time_t bamf_window_last_active (BamfWindow *self)
time_t bamf_window_opened (BamfWindow *self)
static void handle_window_closed (BamfLegacyWindow *window, gpointer data)
static void handle_name_changed (BamfLegacyWindow *window, BamfWindow *self)
static void bamf_window_ensure_flags (BamfWindow *self)
static void bamf_window_ensure_monitor (BamfWindow *self)
static void handle_state_changed (BamfLegacyWindow *window, BamfWindow *self)
static void handle_geometry_changed (BamfLegacyWindow *window, BamfWindow *self)
static const char * bamf_window_get_view_type (BamfView *view)
char * bamf_window_get_xprop (BamfWindow *self, const char *prop)
BamfWindowMaximizationType bamf_window_maximized (BamfWindow *self)
gint bamf_window_get_monitor (BamfWindow *self)
char * bamf_window_get_stable_bus_name (BamfView *view)
gint bamf_window_get_stack_position (BamfWindow *self)
static void active_window_changed (BamfLegacyScreen *screen, BamfWindow *window)
static gboolean on_dbus_handle_get_pid (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static gboolean on_dbus_handle_get_xid (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static gboolean on_dbus_handle_transient (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static gboolean on_dbus_handle_window_type (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static gboolean on_dbus_handle_xprop (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, const gchar *prop, BamfWindow *self)
static gboolean on_dbus_handle_monitor (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static gboolean on_dbus_handle_maximized (BamfDBusItemWindow *interface, GDBusMethodInvocation *invocation, BamfWindow *self)
static void bamf_window_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void bamf_window_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void on_maximized_changed (BamfWindow *self, BamfWindowMaximizationType old, BamfWindowMaximizationType new, gpointer _not_used)
static void on_monitor_changed (BamfWindow *self, gint old, gint new, gpointer _not_used)
static void bamf_window_constructed (GObject *object)
static void bamf_window_dispose (GObject *object)
static void bamf_window_finalize (GObject *object)
static void bamf_window_init (BamfWindow *self)
static void bamf_window_class_init (BamfWindowClass *klass)
BamfWindow * bamf_window_new (BamfLegacyWindow *window)

Variables

static GList * bamf_windows

Class Documentation

struct _BamfWindowPrivate

Definition at line 50 of file bamf-window.c.

Class Members
gulong closed_id
DBusGConnection * connection
BamfDBusItemWindow * dbus_iface
gulong geometry_changed_id
time_t last_active
BamfLegacyWindow * legacy_window
BamfWindowMaximizationType maximized
gint monitor
gulong name_changed_id
time_t opened
guint32 pid
DBusGProxy * proxy
gulong state_changed_id
guint32 xid

Define Documentation

#define BAMF_WINDOW_GET_PRIVATE (   obj)
Value:
(G_TYPE_INSTANCE_GET_PRIVATE(obj, \
BAMF_TYPE_WINDOW, BamfWindowPrivate))

Definition at line 24 of file bamf-window.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
PROP_0 
PROP_WINDOW 

Definition at line 34 of file bamf-window.c.


Function Documentation

static void active_window_changed ( BamfLegacyScreen *  screen,
BamfWindow *  window 
) [static]

Definition at line 280 of file bamf-window.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_class_init ( BamfWindowClass *  klass) [static]

Definition at line 550 of file bamf-window.c.

{
  GParamSpec *pspec;
  GObjectClass *object_class = G_OBJECT_CLASS (klass);
  BamfViewClass *view_class = BAMF_VIEW_CLASS (klass);

  object_class->dispose       = bamf_window_dispose;
  object_class->finalize      = bamf_window_finalize;
  object_class->get_property  = bamf_window_get_property;
  object_class->set_property  = bamf_window_set_property;
  object_class->constructed   = bamf_window_constructed;
  view_class->view_type       = bamf_window_get_view_type;
  view_class->stable_bus_name = bamf_window_get_stable_bus_name;

  pspec = g_param_spec_object ("legacy-window", "legacy-window", "legacy-window",
                               BAMF_TYPE_LEGACY_WINDOW,
                               G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
  g_object_class_install_property (object_class, PROP_WINDOW, pspec);

  g_type_class_add_private (klass, sizeof (BamfWindowPrivate));
}

Here is the call graph for this function:

static void bamf_window_constructed ( GObject *  object) [static]

Definition at line 423 of file bamf-window.c.

{
  BamfWindow *self;
  BamfLegacyWindow *window;

  if (G_OBJECT_CLASS (bamf_window_parent_class)->constructed)
    G_OBJECT_CLASS (bamf_window_parent_class)->constructed (object);

  g_object_get (object, "legacy-window", &window, NULL);

  self = BAMF_WINDOW (object);
  bamf_windows = g_list_prepend (bamf_windows, self);

  self->priv->opened = time (NULL);

  bamf_view_set_name (BAMF_VIEW (self), bamf_legacy_window_get_name (window));

  self->priv->name_changed_id = g_signal_connect (G_OBJECT (window), "name-changed",
                                                  (GCallback) handle_name_changed, self);

  self->priv->state_changed_id = g_signal_connect (G_OBJECT (window), "state-changed",
                                                   (GCallback) handle_state_changed, self);

  self->priv->geometry_changed_id = g_signal_connect (G_OBJECT (window), "geometry-changed",
                                                      (GCallback) handle_geometry_changed, self);

  self->priv->closed_id = g_signal_connect (G_OBJECT (window), "closed",
                                            (GCallback) handle_window_closed, self);

  self->priv->maximized = -1;
  self->priv->monitor = -1;

  bamf_window_ensure_flags (self);
  bamf_window_ensure_monitor (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_dbus_iface_init ( BamfDBusItemWindowIface *  iface) [static]

Definition at line 545 of file bamf-window.c.

{
}
static void bamf_window_dispose ( GObject *  object) [static]

Definition at line 460 of file bamf-window.c.

{
  BamfWindow *self;

  self = BAMF_WINDOW (object);
  bamf_windows = g_list_remove (bamf_windows, self);

  g_signal_handlers_disconnect_by_func (bamf_legacy_screen_get_default (),
                                        active_window_changed, self);

  if (self->priv->legacy_window)
    {
      g_signal_handler_disconnect (self->priv->legacy_window,
                                   self->priv->name_changed_id);

      g_signal_handler_disconnect (self->priv->legacy_window,
                                   self->priv->state_changed_id);

      g_signal_handler_disconnect (self->priv->legacy_window,
                                   self->priv->geometry_changed_id);

      g_signal_handler_disconnect (self->priv->legacy_window,
                                   self->priv->closed_id);

      g_object_unref (self->priv->legacy_window);
      self->priv->legacy_window = NULL;
    }
  G_OBJECT_CLASS (bamf_window_parent_class)->dispose (object);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_ensure_flags ( BamfWindow *  self) [static]

Definition at line 179 of file bamf-window.c.

{
  g_return_if_fail (BAMF_IS_WINDOW (self));

  /* if we are going innactive, set our last active time */
  if (bamf_view_is_active (BAMF_VIEW (self)) && !bamf_legacy_window_is_active (self->priv->legacy_window))
    self->priv->last_active = time (NULL);
  
  bamf_view_set_active       (BAMF_VIEW (self), bamf_legacy_window_is_active (self->priv->legacy_window));
  bamf_view_set_urgent       (BAMF_VIEW (self), bamf_legacy_window_needs_attention (self->priv->legacy_window));
  bamf_view_set_user_visible (BAMF_VIEW (self), !bamf_legacy_window_is_skip_tasklist (self->priv->legacy_window));

  BamfWindowMaximizationType maximized = bamf_window_maximized (self);

  if (self->priv->maximized != maximized)
  {
    BamfWindowMaximizationType old_state = self->priv->maximized;
    self->priv->maximized = maximized;
    g_signal_emit_by_name (self, "maximized-changed", old_state, maximized);
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_ensure_monitor ( BamfWindow *  self) [static]

Definition at line 202 of file bamf-window.c.

{
  g_return_if_fail (BAMF_IS_WINDOW (self));

  gint monitor = bamf_window_get_monitor (self);

  if (self->priv->monitor != monitor)
  {
    gint old_monitor = self->priv->monitor;
    self->priv->monitor = monitor;
    g_signal_emit_by_name (self, "monitor-changed", old_monitor, monitor);
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_finalize ( GObject *  object) [static]

Definition at line 491 of file bamf-window.c.

{
  BamfWindow *self;
  self = BAMF_WINDOW (object);

  g_object_unref (self->priv->dbus_iface);

  G_OBJECT_CLASS (bamf_window_parent_class)->finalize (object);
}

Here is the caller graph for this function:

gint bamf_window_get_monitor ( BamfWindow *  self)

Definition at line 249 of file bamf-window.c.

{
  gint x, y, width, height;
  g_return_val_if_fail (BAMF_IS_WINDOW (self), -1);

  GdkScreen *gdk_screen =  gdk_screen_get_default ();
  bamf_legacy_window_get_geometry (self->priv->legacy_window, &x, &y, &width, &height);
  
  return gdk_screen_get_monitor_at_point (gdk_screen, x + width/2, y + height/2);
}

Here is the call graph for this function:

guint32 bamf_window_get_pid ( BamfWindow *  window)

Definition at line 118 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (window), 0);

  return bamf_legacy_window_get_pid (window->priv->legacy_window);
}

Here is the call graph for this function:

static void bamf_window_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 389 of file bamf-window.c.

{
  BamfWindow *self;

  self = BAMF_WINDOW (object);

  switch (property_id)
    {
      case PROP_WINDOW:
        g_value_set_object (value, self->priv->legacy_window);

        break;

      default:
        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
    }
}

Here is the caller graph for this function:

char* bamf_window_get_stable_bus_name ( BamfView *  view)

Definition at line 261 of file bamf-window.c.

{
  BamfWindow *self;

  g_return_val_if_fail (BAMF_IS_WINDOW (view), NULL);  
  self = BAMF_WINDOW (view);

  return g_strdup_printf ("window%i", bamf_legacy_window_get_xid (self->priv->legacy_window));
}

Here is the call graph for this function:

Here is the caller graph for this function:

gint bamf_window_get_stack_position ( BamfWindow *  self)

Definition at line 272 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), -1);

  return bamf_legacy_window_get_stacking_position (self->priv->legacy_window);
}

Here is the call graph for this function:

Here is the caller graph for this function:

BamfWindow* bamf_window_get_transient ( BamfWindow *  self)

Definition at line 67 of file bamf-window.c.

{
  BamfLegacyWindow *legacy, *transient;
  BamfWindow *other;
  GList *l;
  
  g_return_val_if_fail (BAMF_IS_WINDOW (self), NULL);
  
  legacy = bamf_window_get_window (self);
  transient = bamf_legacy_window_get_transient (legacy);
  
  if (transient)
    {
      for (l = bamf_windows; l; l = l->next)
        {
          other = l->data;
      
          if (!BAMF_IS_WINDOW (other))
            continue;
      
          if (transient == bamf_window_get_window (other))
            return other;
        }
    }
  return NULL;
}

Here is the call graph for this function:

const char* bamf_window_get_transient_path ( BamfWindow *  self)

Definition at line 95 of file bamf-window.c.

{
  BamfWindow *transient;
  
  g_return_val_if_fail (BAMF_IS_WINDOW (self), NULL);
  
  transient = bamf_window_get_transient (self);
  
  if (transient == NULL)
    return "";
  
  return bamf_view_get_path (BAMF_VIEW (transient));
} 

Here is the call graph for this function:

Here is the caller graph for this function:

static const char* bamf_window_get_view_type ( BamfView *  view) [static]

Definition at line 229 of file bamf-window.c.

{
  return "window";
}

Here is the caller graph for this function:

BamfLegacyWindow* bamf_window_get_window ( BamfWindow *  self)

Definition at line 56 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), NULL);

  if (BAMF_WINDOW_GET_CLASS (self)->get_window)
    return BAMF_WINDOW_GET_CLASS (self)->get_window (self);

  return self->priv->legacy_window;
}

Here is the caller graph for this function:

guint32 bamf_window_get_window_type ( BamfWindow *  window)

Definition at line 110 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (window), 0);
  
  return (guint32) bamf_legacy_window_get_window_type (window->priv->legacy_window);
}

Here is the call graph for this function:

guint32 bamf_window_get_xid ( BamfWindow *  window)

Definition at line 126 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (window), 0);


  if (BAMF_WINDOW_GET_CLASS (window)->get_xid)
    return BAMF_WINDOW_GET_CLASS (window)->get_xid (window);

  return (guint32) bamf_legacy_window_get_xid (window->priv->legacy_window);
}

Here is the call graph for this function:

char* bamf_window_get_xprop ( BamfWindow *  self,
const char *  prop 
)

Definition at line 235 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), NULL);
  return bamf_legacy_window_get_utf8_xprop(self->priv->legacy_window, prop);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void bamf_window_init ( BamfWindow *  self) [static]

Definition at line 502 of file bamf-window.c.

{
  self->priv = BAMF_WINDOW_GET_PRIVATE (self);

  /* Initializing the dbus interface */
  self->priv->dbus_iface = bamf_dbus_item_window_skeleton_new ();

  /* We need to connect to the object own signals to redirect them to the dbus
   * interface                                                                */
  g_signal_connect (self, "maximized-changed", G_CALLBACK (on_maximized_changed), NULL);
  g_signal_connect (self, "monitor-changed", G_CALLBACK (on_monitor_changed), NULL);

  /* Registering signal callbacks to reply to dbus method calls */
  g_signal_connect (self->priv->dbus_iface, "handle-get-pid",
                    G_CALLBACK (on_dbus_handle_get_pid), self);

  g_signal_connect (self->priv->dbus_iface, "handle-get-xid",
                    G_CALLBACK (on_dbus_handle_get_xid), self);

  g_signal_connect (self->priv->dbus_iface, "handle-transient",
                    G_CALLBACK (on_dbus_handle_transient), self);

  g_signal_connect (self->priv->dbus_iface, "handle-window-type",
                    G_CALLBACK (on_dbus_handle_window_type), self);

  g_signal_connect (self->priv->dbus_iface, "handle-xprop",
                    G_CALLBACK (on_dbus_handle_xprop), self);

  g_signal_connect (self->priv->dbus_iface, "handle-monitor",
                    G_CALLBACK (on_dbus_handle_monitor), self);

  g_signal_connect (self->priv->dbus_iface, "handle-maximized",
                    G_CALLBACK (on_dbus_handle_maximized), self);

  /* Setting the interface for the dbus object */
  bamf_dbus_item_object_skeleton_set_window (BAMF_DBUS_ITEM_OBJECT_SKELETON (self),
                                             self->priv->dbus_iface);

  g_signal_connect (G_OBJECT (bamf_legacy_screen_get_default ()), "active-window-changed",
                    (GCallback) active_window_changed, self);
}

Here is the call graph for this function:

time_t bamf_window_last_active ( BamfWindow *  self)

Definition at line 138 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), (time_t) 0);
  
  if (bamf_view_is_active (BAMF_VIEW (self)))
    return time (NULL);
  return self->priv->last_active;
}

Here is the call graph for this function:

Definition at line 242 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), BAMF_WINDOW_FLOATING);
  return bamf_legacy_window_maximized (self->priv->legacy_window);
}

Here is the call graph for this function:

BamfWindow* bamf_window_new ( BamfLegacyWindow *  window)

Definition at line 573 of file bamf-window.c.

{
  BamfWindow *self;
  self = (BamfWindow *) g_object_new (BAMF_TYPE_WINDOW, "legacy-window", window, NULL);
  
  return self;
}
time_t bamf_window_opened ( BamfWindow *  self)

Definition at line 148 of file bamf-window.c.

{
  g_return_val_if_fail (BAMF_IS_WINDOW (self), (time_t) 0);
  
  return self->priv->opened;
}
static void bamf_window_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 371 of file bamf-window.c.

{
  BamfWindow *self;

  self = BAMF_WINDOW (object);

  switch (property_id)
    {
      case PROP_WINDOW:
        self->priv->legacy_window = BAMF_LEGACY_WINDOW (g_value_get_object (value));
        break;

      default:
        G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
    }
}

Here is the caller graph for this function:

G_DEFINE_TYPE_WITH_CODE ( BamfWindow  ,
bamf_window  ,
BAMF_TYPE_VIEW  ,
G_IMPLEMENT_INTERFACE(BAMF_DBUS_ITEM_TYPE_WINDOW, bamf_window_dbus_iface_init  
)
static void handle_geometry_changed ( BamfLegacyWindow *  window,
BamfWindow *  self 
) [static]

Definition at line 223 of file bamf-window.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_name_changed ( BamfLegacyWindow *  window,
BamfWindow *  self 
) [static]

Definition at line 171 of file bamf-window.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_state_changed ( BamfLegacyWindow *  window,
BamfWindow *  self 
) [static]

Definition at line 217 of file bamf-window.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void handle_window_closed ( BamfLegacyWindow *  window,
gpointer  data 
) [static]

Definition at line 156 of file bamf-window.c.

{
  BamfWindow *self;
  self = (BamfWindow *) data;

  g_return_if_fail (BAMF_IS_WINDOW (self));
  g_return_if_fail (BAMF_IS_LEGACY_WINDOW (window));

  if (window == self->priv->legacy_window)
    {
      bamf_view_close (BAMF_VIEW (self));
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_get_pid ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 286 of file bamf-window.c.

{
  gint pid = bamf_window_get_pid (self);
  g_dbus_method_invocation_return_value (invocation, g_variant_new ("(u)", pid));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_get_xid ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 297 of file bamf-window.c.

{
  guint32 xid = bamf_window_get_xid (self);
  g_dbus_method_invocation_return_value (invocation, g_variant_new ("(u)", xid));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_maximized ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 359 of file bamf-window.c.

{
  BamfWindowMaximizationType maximized = bamf_window_maximized (self);
  g_dbus_method_invocation_return_value (invocation,
                                         g_variant_new ("(i)", maximized));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_monitor ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 347 of file bamf-window.c.

{
  gint monitor = bamf_window_get_monitor (self);
  g_dbus_method_invocation_return_value (invocation,
                                         g_variant_new ("(i)", monitor));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_transient ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 308 of file bamf-window.c.

{
  const char *transient_path = bamf_window_get_transient_path (self);
  g_dbus_method_invocation_return_value (invocation,
                                         g_variant_new ("(s)", transient_path));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_window_type ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
BamfWindow *  self 
) [static]

Definition at line 320 of file bamf-window.c.

{
  BamfWindowType window_type = bamf_window_get_window_type (self);
  g_dbus_method_invocation_return_value (invocation,
                                         g_variant_new ("(u)", window_type));

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean on_dbus_handle_xprop ( BamfDBusItemWindow *  interface,
GDBusMethodInvocation *  invocation,
const gchar *  prop,
BamfWindow *  self 
) [static]

Definition at line 332 of file bamf-window.c.

{
  char *bus_name = bamf_window_get_xprop (self, prop);
  g_dbus_method_invocation_return_value (invocation,
                                         g_variant_new ("(s)", bus_name ? bus_name : ""));

  g_free (bus_name);

  return TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void on_maximized_changed ( BamfWindow *  self,
BamfWindowMaximizationType  old,
BamfWindowMaximizationType  new,
gpointer  _not_used 
) [static]

Definition at line 408 of file bamf-window.c.

{
  g_return_if_fail (BAMF_IS_WINDOW (self));
  g_signal_emit_by_name (self->priv->dbus_iface, "maximized-changed", old, new);
}

Here is the caller graph for this function:

static void on_monitor_changed ( BamfWindow *  self,
gint  old,
gint  new,
gpointer  _not_used 
) [static]

Definition at line 416 of file bamf-window.c.

{
  g_return_if_fail (BAMF_IS_WINDOW (self));
  g_signal_emit_by_name (self->priv->dbus_iface, "monitor-changed", old, new);
}

Here is the caller graph for this function:


Variable Documentation

GList* bamf_windows [static]

Definition at line 32 of file bamf-window.c.