X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=9dd50985daa0b138d4fcc027992ffc262e871b3c;hb=43139ed3734c11c858f92f1c2cc7ed4cdba169cb;hp=3c2dfc284e5a7ccdebbf4fe27c664cccf5842c82;hpb=25ffe6b566379f25dd3cf7e74aeefd084b7e1b19;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 3c2dfc28..9dd50985 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -151,6 +151,10 @@ int main(int argc, char **argv) ob_cursors.tr = XCreateFontCursor(ob_display, XC_top_right_corner); ob_cursors.bl = XCreateFontCursor(ob_display, XC_bottom_left_corner); ob_cursors.br = XCreateFontCursor(ob_display, XC_bottom_right_corner); + ob_cursors.t = XCreateFontCursor(ob_display, XC_top_side); + ob_cursors.r = XCreateFontCursor(ob_display, XC_right_side); + ob_cursors.b = XCreateFontCursor(ob_display, XC_bottom_side); + ob_cursors.l = XCreateFontCursor(ob_display, XC_left_side); prop_startup(); /* get atoms values for the display */ extensions_query_all(); /* find which extensions are present */ @@ -328,7 +332,7 @@ void parse_args(int argc, char **argv) gboolean ob_pointer_pos(int *x, int *y) { Window w; - int i, x, y; + int i; guint u; return !!XQueryPointer(ob_display, ob_root, &w, &w, x, y, &i, &i, &u);