X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxo-paint.c;h=798643c49fa3100e1f3e70eaea481e36e321ca59;hb=59df9eb838b273295a6b86ce9f522dc4ad71dc4d;hp=5d19c1b9a03718ca858804b0602611791454c5b8;hpb=ddd27893ae44eb5eb62c80e5751a6943a4782fe2;p=xournal.git diff --git a/src/xo-paint.c b/src/xo-paint.c index 5d19c1b..798643c 100644 --- a/src/xo-paint.c +++ b/src/xo-paint.c @@ -61,12 +61,10 @@ void update_cursor(void) gdk_cursor_unref(ui.cursor); ui.cursor = NULL; } - if (ui.cur_item_type == ITEM_MOVESEL) { - if (ui.toolno[ui.cur_mapping] == TOOL_VERTSPACE) - ui.cursor = gdk_cursor_new(GDK_SB_V_DOUBLE_ARROW); - else - ui.cursor = gdk_cursor_new(GDK_FLEUR); - } + if (ui.cur_item_type == ITEM_MOVESEL_VERT) + ui.cursor = gdk_cursor_new(GDK_SB_V_DOUBLE_ARROW); + else if (ui.cur_item_type == ITEM_MOVESEL) + ui.cursor = gdk_cursor_new(GDK_FLEUR); else if (ui.toolno[ui.cur_mapping] == TOOL_PEN) { fg.red = (ui.cur_brush->color_rgba >> 16) & 0xff00; fg.green = (ui.cur_brush->color_rgba >> 8) & 0xff00;