summaryrefslogtreecommitdiff
path: root/openbox/grab.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/grab.c
parent8085f3490fb5790d15fcb47988bbc24e17467725 (diff)
consistant glib type usage
Diffstat (limited to 'openbox/grab.c')
-rw-r--r--openbox/grab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/grab.c b/openbox/grab.c
index e2784a2d..91f7915c 100644
--- a/openbox/grab.c
+++ b/openbox/grab.c
@@ -31,7 +31,7 @@
#define MASK_LIST_SIZE 8
/*! A list of all possible combinations of keyboard lock masks */
-static unsigned int mask_list[MASK_LIST_SIZE];
+static guint mask_list[MASK_LIST_SIZE];
static guint kgrabs = 0;
static guint pgrabs = 0;
@@ -158,7 +158,7 @@ void grab_shutdown(gboolean reconfig)
}
void grab_button_full(guint button, guint state, Window win, guint mask,
- int pointer_mode, ObCursor cur)
+ gint pointer_mode, ObCursor cur)
{
guint i;
@@ -185,7 +185,7 @@ void ungrab_button(guint button, guint state, Window win)
XUngrabButton(ob_display, button, state | mask_list[i], win);
}
-void grab_key(guint keycode, guint state, Window win, int keyboard_mode)
+void grab_key(guint keycode, guint state, Window win, gint keyboard_mode)
{
guint i;