]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
add the left/right/top/bottom direction arrows and use them for resizing those ways
[chaz/openbox] / openbox / openbox.c
index 3c2dfc284e5a7ccdebbf4fe27c664cccf5842c82..9dd50985daa0b138d4fcc027992ffc262e871b3c 100644 (file)
@@ -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);
This page took 0.020269 seconds and 4 git commands to generate.