diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-17 02:15:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-17 02:15:09 +0000 |
| commit | 11b79778ad3c6d1cf0e98f0aa13a91ecaa5448f5 (patch) | |
| tree | f409559460947fb8279e2d1b2c5ec50b3a7f9921 | |
| parent | 372bf0294745062e4dd1a1dc3de16e16e17f5215 (diff) | |
add more cursors for move/resizing, and use the arrows not the angle brackets
| -rw-r--r-- | openbox/openbox.c | 9 | ||||
| -rw-r--r-- | openbox/openbox.h | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 24f19217..980aceb4 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -144,9 +144,12 @@ int main(int argc, char **argv) display we're using, so they open in the right place. */ putenv(g_strdup_printf("DISPLAY=%s", DisplayString(ob_display))); - ob_cursors.left_ptr = XCreateFontCursor(ob_display, XC_left_ptr); - ob_cursors.ll_angle = XCreateFontCursor(ob_display, XC_ll_angle); - ob_cursors.lr_angle = XCreateFontCursor(ob_display, XC_lr_angle); + ob_cursors.ptr = XCreateFontCursor(ob_display, XC_left_ptr); + ob_cursors.move = XCreateFontCursor(ob_display, XC_fleur); + ob_cursors.tl = XCreateFontCursor(ob_display, XC_top_left_corner); + 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); prop_startup(); /* get atoms values for the display */ extensions_query_all(); /* find which extensions are present */ diff --git a/openbox/openbox.h b/openbox/openbox.h index 21f0e9a8..70e51136 100644 --- a/openbox/openbox.h +++ b/openbox/openbox.h @@ -35,9 +35,12 @@ extern gboolean ob_remote; extern gboolean ob_sync; typedef struct Cursors { - Cursor left_ptr; - Cursor ll_angle; - Cursor lr_angle; + Cursor ptr; + Cursor move; + Cursor bl; + Cursor br; + Cursor tl; + Cursor tr; } Cursors; extern Cursors ob_cursors; |
