Changing the cursor type