forked from AuroraMiddleware/gtk
broadway: Remove references to unused BROADWAY_EVENT_DELETE_NOTIFY
This commit is contained in:
parent
4694885015
commit
e80ad0e0f9
@ -53,7 +53,6 @@ typedef enum {
|
||||
BROADWAY_EVENT_GRAB_NOTIFY = 'g',
|
||||
BROADWAY_EVENT_UNGRAB_NOTIFY = 'u',
|
||||
BROADWAY_EVENT_CONFIGURE_NOTIFY = 'w',
|
||||
BROADWAY_EVENT_DELETE_NOTIFY = 'W',
|
||||
BROADWAY_EVENT_SCREEN_SIZE_CHANGED = 'd',
|
||||
BROADWAY_EVENT_FOCUS = 'f',
|
||||
BROADWAY_EVENT_ROUNDTRIP_NOTIFY = 'F',
|
||||
|
@ -356,8 +356,6 @@ update_event_state (BroadwayServer *server,
|
||||
break;
|
||||
case BROADWAY_EVENT_ROUNDTRIP_NOTIFY:
|
||||
break;
|
||||
case BROADWAY_EVENT_DELETE_NOTIFY:
|
||||
break;
|
||||
case BROADWAY_EVENT_SCREEN_SIZE_CHANGED:
|
||||
server->root->width = message->screen_resize_notify.width;
|
||||
server->root->height = message->screen_resize_notify.height;
|
||||
@ -607,10 +605,6 @@ parse_input_message (BroadwayInput *input, const unsigned char *message)
|
||||
}
|
||||
break;
|
||||
|
||||
case BROADWAY_EVENT_DELETE_NOTIFY:
|
||||
msg.delete_notify.id = ntohl (*p++);
|
||||
break;
|
||||
|
||||
case BROADWAY_EVENT_SCREEN_SIZE_CHANGED:
|
||||
msg.screen_resize_notify.width = ntohl (*p++);
|
||||
msg.screen_resize_notify.height = ntohl (*p++);
|
||||
|
@ -775,8 +775,6 @@ get_event_size (int type)
|
||||
return sizeof (BroadwayInputConfigureNotify);
|
||||
case BROADWAY_EVENT_ROUNDTRIP_NOTIFY:
|
||||
return sizeof (BroadwayInputRoundtripNotify);
|
||||
case BROADWAY_EVENT_DELETE_NOTIFY:
|
||||
return sizeof (BroadwayInputDeleteNotify);
|
||||
case BROADWAY_EVENT_SCREEN_SIZE_CHANGED:
|
||||
return sizeof (BroadwayInputScreenResizeNotify);
|
||||
case BROADWAY_EVENT_FOCUS:
|
||||
|
@ -347,18 +347,6 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
|
||||
_gdk_broadway_roundtrip_notify (window, message->roundtrip_notify.tag, message->roundtrip_notify.local);
|
||||
break;
|
||||
|
||||
case BROADWAY_EVENT_DELETE_NOTIFY:
|
||||
window = g_hash_table_lookup (display_broadway->id_ht, GINT_TO_POINTER (message->delete_notify.id));
|
||||
if (window)
|
||||
{
|
||||
event = gdk_event_new (GDK_DELETE);
|
||||
event->any.window = g_object_ref (window);
|
||||
|
||||
node = _gdk_event_queue_append (display, event);
|
||||
_gdk_windowing_got_event (display, node, event, message->base.serial);
|
||||
}
|
||||
break;
|
||||
|
||||
case BROADWAY_EVENT_SCREEN_SIZE_CHANGED:
|
||||
_gdk_broadway_display_size_changed (display, &message->screen_resize_notify);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user