Fix gcc warnings
This commit is contained in:
parent
0afb5b28c6
commit
9750e5cea8
3 changed files with 3 additions and 4 deletions
|
@ -46,7 +46,6 @@ gint main()
|
||||||
RrAppearance *look;
|
RrAppearance *look;
|
||||||
int done;
|
int done;
|
||||||
|
|
||||||
Window root;
|
|
||||||
XEvent report;
|
XEvent report;
|
||||||
gint h = 500, w = 500;
|
gint h = 500, w = 500;
|
||||||
|
|
||||||
|
@ -64,7 +63,6 @@ gint main()
|
||||||
0); /* attributes */
|
0); /* attributes */
|
||||||
XMapWindow(ob_display, win);
|
XMapWindow(ob_display, win);
|
||||||
XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask);
|
XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask);
|
||||||
root = RootWindow (ob_display, DefaultScreen (ob_display));
|
|
||||||
inst = RrInstanceNew(ob_display, ob_screen);
|
inst = RrInstanceNew(ob_display, ob_screen);
|
||||||
|
|
||||||
look = RrAppearanceNew(inst, 0);
|
look = RrAppearanceNew(inst, 0);
|
||||||
|
|
|
@ -218,7 +218,7 @@ void client_manage(Window window, ObPrompt *prompt)
|
||||||
Time launch_time;
|
Time launch_time;
|
||||||
guint32 user_time;
|
guint32 user_time;
|
||||||
gboolean obplaced;
|
gboolean obplaced;
|
||||||
gulong ignore_start;
|
gulong ignore_start = FALSE;
|
||||||
|
|
||||||
ob_debug("Managing window: 0x%lx", window);
|
ob_debug("Managing window: 0x%lx", window);
|
||||||
|
|
||||||
|
|
|
@ -1327,8 +1327,9 @@ typedef struct {
|
||||||
static void get_xinerama_screens(Rect **xin_areas, guint *nxin)
|
static void get_xinerama_screens(Rect **xin_areas, guint *nxin)
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
gint n, l, r, t, b;
|
gint l, r, t, b;
|
||||||
#ifdef XINERAMA
|
#ifdef XINERAMA
|
||||||
|
gint n;
|
||||||
XineramaScreenInfo *info;
|
XineramaScreenInfo *info;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue