Commit 9d55b3c6 authored by Benjamin Otte's avatar Benjamin Otte

broadway: variable 'broadway_display' set but not used

parent dfb619ee
...@@ -1252,16 +1252,12 @@ gdk_broadway_window_begin_resize_drag (GdkWindow *window, ...@@ -1252,16 +1252,12 @@ gdk_broadway_window_begin_resize_drag (GdkWindow *window,
gint root_y, gint root_y,
guint32 timestamp) guint32 timestamp)
{ {
GdkBroadwayDisplay *broadway_display;
MoveResizeData *mv_resize; MoveResizeData *mv_resize;
if (GDK_WINDOW_DESTROYED (window) || if (GDK_WINDOW_DESTROYED (window) ||
return; return;
/* We need a connection to be able to get mouse events, if not, punt */
broadway_display = GDK_BROADWAY_DISPLAY (gdk_window_get_display (window));
mv_resize = get_move_resize_data (GDK_WINDOW_DISPLAY (window), TRUE); mv_resize = get_move_resize_data (GDK_WINDOW_DISPLAY (window), TRUE);
mv_resize->is_resize = TRUE; mv_resize->is_resize = TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment