summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-15 03:59:35 +0000
committerDana Jansens <danakj@orodu.net>2003-10-15 03:59:35 +0000
commit740c5b2a20d5110435d0874f8cc6a4c9dfd14777 (patch)
tree41dd6d301a1da504b6bc9ec7b4cccea2efd16423 /openbox/focus.c
parent8085f3490fb5790d15fcb47988bbc24e17467725 (diff)
consistant glib type usage
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 04d4d31a..ff1386bc 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -60,7 +60,7 @@ static void focus_cycle_destructor(ObClient *client, gpointer data)
focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE);
}
-static Window createWindow(Window parent, unsigned long mask,
+static Window createWindow(Window parent, gulong mask,
XSetWindowAttributes *attrib)
{
return XCreateWindow(ob_display, parent, 0, 0, 1, 1, 0,
@@ -210,7 +210,8 @@ void focus_set_client(ObClient *client)
/* finds the first transient that isn't 'skip' and ensure's that client_normal
is true for it */
-static ObClient *find_transient_recursive(ObClient *c, ObClient *top, ObClient *skip)
+static ObClient *find_transient_recursive(ObClient *c, ObClient *top,
+ ObClient *skip)
{
GSList *it;
ObClient *ret;
@@ -332,7 +333,7 @@ static void popup_cycle(ObClient *c, gboolean show)
} else {
Rect *a;
ObClient *p = c;
- char *title;
+ gchar *title;
a = screen_physical_area_monitor(0);
icon_popup_position(focus_cycle_popup, CenterGravity,
@@ -378,8 +379,8 @@ void focus_cycle_draw_indicator()
frame_adjust_focus(focus_cycle_target->frame, FALSE);
frame_adjust_focus(focus_cycle_target->frame, TRUE);
*/
- int x, y, w, h;
- int wt, wl, wr, wb;
+ gint x, y, w, h;
+ gint wt, wl, wr, wb;
wt = wl = wr = wb = MAX(3,
ob_rr_theme->handle_height +