summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c2
-rw-r--r--openbox/screen.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 88b08f9f..c97abd5a 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -218,7 +218,7 @@ void client_manage(Window window, ObPrompt *prompt)
Time launch_time;
guint32 user_time;
gboolean obplaced;
- gulong ignore_start;
+ gulong ignore_start = FALSE;
ob_debug("Managing window: 0x%lx", window);
diff --git a/openbox/screen.c b/openbox/screen.c
index 33acb4a1..9295194e 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1327,8 +1327,9 @@ typedef struct {
static void get_xinerama_screens(Rect **xin_areas, guint *nxin)
{
guint i;
- gint n, l, r, t, b;
+ gint l, r, t, b;
#ifdef XINERAMA
+ gint n;
XineramaScreenInfo *info;
#endif