Conditionalize use of gdk_display_get_pointer() 2