all repos — openbox @ 9750e5cea8d8cdab2b8b988a8c5d6392b0dbeae8

openbox fork - make it a bit more like ryudo

Fix gcc warnings
Ian Zimmerman itz@buug.org
commit

9750e5cea8d8cdab2b8b988a8c5d6392b0dbeae8

parent

0afb5b28c63651c1e598bbd4d88c60ac0b478567

3 files changed, 3 insertions(+), 4 deletions(-)

jump to
M obrender/test.cobrender/test.c

@@ -46,7 +46,6 @@ RrInstance *inst;

RrAppearance *look; int done; - Window root; XEvent report; gint h = 500, w = 500;

@@ -64,7 +63,6 @@ 0, /* valuemask */

0); /* attributes */ XMapWindow(ob_display, win); XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask); - root = RootWindow (ob_display, DefaultScreen (ob_display)); inst = RrInstanceNew(ob_display, ob_screen); look = RrAppearanceNew(inst, 0);
M openbox/client.copenbox/client.c

@@ -218,7 +218,7 @@ Rect place;

Time launch_time; guint32 user_time; gboolean obplaced; - gulong ignore_start; + gulong ignore_start = FALSE; ob_debug("Managing window: 0x%lx", window);
M openbox/screen.copenbox/screen.c

@@ -1327,8 +1327,9 @@

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