diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/keyboard/keyboard.c | 2 | ||||
| -rw-r--r-- | plugins/mouse/mouse.c | 6 | ||||
| -rw-r--r-- | plugins/placement/history.c | 4 | ||||
| -rw-r--r-- | plugins/placement/history.h | 2 | ||||
| -rw-r--r-- | plugins/placement/placement.c | 2 | ||||
| -rw-r--r-- | plugins/resistance/resistance.c | 12 |
6 files changed, 14 insertions, 14 deletions
diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index 45b93ac4..f89620db 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -104,7 +104,7 @@ static void grab_keys(gboolean grab) grab_for_window(focus_backup, grab); for (it = client_list; it; it = g_list_next(it)) - grab_for_window(((Client*)it->data)->frame->window, grab); + grab_for_window(((ObClient*)it->data)->frame->window, grab); } static void reset_chains() diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index 26b23cd8..4ed7b9dd 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -104,7 +104,7 @@ void plugin_setup_config() /* Array of GSList*s of PointerBinding*s. */ static GSList *bound_contexts[NUM_CONTEXTS]; -static void grab_for_client(Client *client, gboolean grab) +static void grab_for_client(ObClient *client, gboolean grab) { int i; GSList *it; @@ -167,7 +167,7 @@ static void clearall() } } -static void fire_button(MouseAction a, Context context, Client *c, guint state, +static void fire_button(MouseAction a, Context context, ObClient *c, guint state, guint button, int x, int y) { GSList *it; @@ -198,7 +198,7 @@ static void fire_button(MouseAction a, Context context, Client *c, guint state, } } -static void fire_motion(MouseAction a, Context context, Client *c, +static void fire_motion(MouseAction a, Context context, ObClient *c, guint state, guint button, int x_root, int y_root, guint32 corner) { diff --git a/plugins/placement/history.c b/plugins/placement/history.c index f2b4ea63..22dbb6e0 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -49,7 +49,7 @@ static struct HistoryItem *history_find(const char *name, const char *class, return NULL; } -gboolean place_history(Client *c) +gboolean place_history(ObClient *c) { struct HistoryItem *hi; int x, y, w, h; @@ -90,7 +90,7 @@ gboolean place_history(Client *c) return FALSE; } -static void set_history(Client *c) +static void set_history(ObClient *c) { struct HistoryItem *hi; diff --git a/plugins/placement/history.h b/plugins/placement/history.h index 38571769..cbf9f68e 100644 --- a/plugins/placement/history.h +++ b/plugins/placement/history.h @@ -7,6 +7,6 @@ void history_startup(); void history_shutdown(); -gboolean place_history(Client *c); +gboolean place_history(ObClient *c); #endif diff --git a/plugins/placement/placement.c b/plugins/placement/placement.c index b567e229..a84c41ec 100644 --- a/plugins/placement/placement.c +++ b/plugins/placement/placement.c @@ -24,7 +24,7 @@ void plugin_setup_config() parse_register("placement", parse_xml, NULL); } -static void place_random(Client *c) +static void place_random(ObClient *c) { int l, r, t, b; int x, y; diff --git a/plugins/resistance/resistance.c b/plugins/resistance/resistance.c index b9539e40..6dbdbe5e 100644 --- a/plugins/resistance/resistance.c +++ b/plugins/resistance/resistance.c @@ -28,7 +28,7 @@ void plugin_setup_config() parse_register("resistance", parse_xml, NULL); } -static void resist_move(Client *c, int *x, int *y) +static void resist_move(ObClient *c, int *x, int *y) { GList *it; Rect *area; @@ -37,7 +37,7 @@ static void resist_move(Client *c, int *x, int *y) int al, at, ar, ab; /* screen area edges */ int cl, ct, cr, cb; /* current edges */ int w, h; /* current size */ - Client *snapx = NULL, *snapy = NULL; + ObClient *snapx = NULL, *snapy = NULL; w = c->frame->area.width; h = c->frame->area.height; @@ -55,7 +55,7 @@ static void resist_move(Client *c, int *x, int *y) /* snap to other clients */ if (resist_windows) for (it = stacking_list; it != NULL; it = it->next) { - Client *target; + ObClient *target; int tl, tt, tr, tb; /* 1 past the target's edges on each side */ if (!WINDOW_IS_CLIENT(it->data)) @@ -131,16 +131,16 @@ static void resist_move(Client *c, int *x, int *y) } } -static void resist_size(Client *c, int *w, int *h, ObCorner corn) +static void resist_size(ObClient *c, int *w, int *h, ObCorner corn) { GList *it; - Client *target; /* target */ + ObClient *target; /* target */ int l, t, r, b; /* my left, top, right and bottom sides */ int dlt, drb; /* my destination left/top and right/bottom sides */ int tl, tt, tr, tb; /* target's left, top, right and bottom bottom sides */ Rect *area; int al, at, ar, ab; /* screen boundaries */ - Client *snapx = NULL, *snapy = NULL; + ObClient *snapx = NULL, *snapy = NULL; /* don't snap windows with size increments */ if (c->size_inc.width > 1 || c->size_inc.height > 1) |
