add more cursors for move/resizing, and use the arrows not the angle brackets
This commit is contained in:
parent
372bf02947
commit
11b79778ad
2 changed files with 12 additions and 6 deletions
|
@ -144,9 +144,12 @@ int main(int argc, char **argv)
|
||||||
display we're using, so they open in the right place. */
|
display we're using, so they open in the right place. */
|
||||||
putenv(g_strdup_printf("DISPLAY=%s", DisplayString(ob_display)));
|
putenv(g_strdup_printf("DISPLAY=%s", DisplayString(ob_display)));
|
||||||
|
|
||||||
ob_cursors.left_ptr = XCreateFontCursor(ob_display, XC_left_ptr);
|
ob_cursors.ptr = XCreateFontCursor(ob_display, XC_left_ptr);
|
||||||
ob_cursors.ll_angle = XCreateFontCursor(ob_display, XC_ll_angle);
|
ob_cursors.move = XCreateFontCursor(ob_display, XC_fleur);
|
||||||
ob_cursors.lr_angle = XCreateFontCursor(ob_display, XC_lr_angle);
|
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 */
|
prop_startup(); /* get atoms values for the display */
|
||||||
extensions_query_all(); /* find which extensions are present */
|
extensions_query_all(); /* find which extensions are present */
|
||||||
|
|
|
@ -35,9 +35,12 @@ extern gboolean ob_remote;
|
||||||
extern gboolean ob_sync;
|
extern gboolean ob_sync;
|
||||||
|
|
||||||
typedef struct Cursors {
|
typedef struct Cursors {
|
||||||
Cursor left_ptr;
|
Cursor ptr;
|
||||||
Cursor ll_angle;
|
Cursor move;
|
||||||
Cursor lr_angle;
|
Cursor bl;
|
||||||
|
Cursor br;
|
||||||
|
Cursor tl;
|
||||||
|
Cursor tr;
|
||||||
} Cursors;
|
} Cursors;
|
||||||
extern Cursors ob_cursors;
|
extern Cursors ob_cursors;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue