Skip to content

Commit

Permalink
fixup! JBR-7016 IDEA 2024.2 Wayland: UI Crash when selecting Code and…
Browse files Browse the repository at this point in the history
… pressing Alt+Enter
  • Loading branch information
vprovodin committed Sep 4, 2024
1 parent 0d6b46c commit dcfac89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/java.desktop/unix/native/libawt_wlawt/WLComponentPeer.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <stdlib.h>
#include <string.h>
#include <jni.h>
#include <jni_util.h>
#include <Trace.h>
#include <assert.h>
#include <gtk-shell1-client-protocol.h>
Expand Down Expand Up @@ -545,7 +544,6 @@ Java_sun_awt_wl_WLComponentPeer_nativeCreateWLPopup
assert(parentFrame);
struct xdg_positioner *xdg_positioner = newPositioner(width, height, offsetX, offsetY);
CHECK_NULL(xdg_positioner);
JNU_RUNTIME_ASSERT(env, parentFrame->toplevel, "Popup's parent surface must be a toplevel");
frame->xdg_popup = xdg_surface_get_popup(frame->xdg_surface, parentFrame->xdg_surface, xdg_positioner);
CHECK_NULL(frame->xdg_popup);
xdg_popup_add_listener(frame->xdg_popup, &xdg_popup_listener, frame);
Expand Down

0 comments on commit dcfac89

Please sign in to comment.