Skip to content

Commit

Permalink
Port 'Revert "Use GTK cursors for zoom-in or zoom-out css cursors (bu…
Browse files Browse the repository at this point in the history
…g 1328724) r=karlt"' to v68
  • Loading branch information
laniakea64 committed Jun 20, 2019
1 parent 889e53f commit d3ae4bd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions widget/gtk/nsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5293,12 +5293,10 @@ static GdkCursor* get_gtk_cursor(nsCursor aCursor) {
if (!gdkcursor) newType = MOZ_CURSOR_SPINNING;
break;
case eCursor_zoom_in:
gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "zoom-in");
if (!gdkcursor) newType = MOZ_CURSOR_ZOOM_IN;
newType = MOZ_CURSOR_ZOOM_IN;
break;
case eCursor_zoom_out:
gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "zoom-out");
if (!gdkcursor) newType = MOZ_CURSOR_ZOOM_OUT;
newType = MOZ_CURSOR_ZOOM_OUT;
break;
case eCursor_not_allowed:
gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "not-allowed");
Expand Down

0 comments on commit d3ae4bd

Please sign in to comment.