[metacity] core: remove MetaEventQueue



commit abdd2bf2713f844b99e7e96bbdebcec9be4fee87
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 2 14:29:01 2018 +0300

    core: remove MetaEventQueue

 src/Makefile.am            |   2 -
 src/core/display-private.h |   2 -
 src/core/display.c         |   2 -
 src/core/eventqueue.c      | 182 ---------------------------------------------
 src/core/eventqueue.h      |  38 ----------
 5 files changed, 226 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index d0446fdb..383ae884 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,8 +51,6 @@ metacity_SOURCES=                             \
        core/effects.h                          \
        core/errors.c                           \
        include/errors.h                        \
-       core/eventqueue.c                       \
-       core/eventqueue.h                       \
        core/frame.c                            \
        core/frame-private.h                    \
        include/frame.h                         \
diff --git a/src/core/display-private.h b/src/core/display-private.h
index 7db9ca13..b7246ec9 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -31,7 +31,6 @@
 
 #include <glib.h>
 #include <X11/Xlib.h>
-#include "eventqueue.h"
 #include "common.h"
 #include "boxes.h"
 #include "display.h"
@@ -130,7 +129,6 @@ struct _MetaDisplay
 
   /*< private-ish >*/
   guint error_trap_synced_at_last_pop : 1;
-  MetaEventQueue *events;
   MetaScreen *screen;
   GHashTable *window_ids;
   int error_traps;
diff --git a/src/core/display.c b/src/core/display.c
index 808e376a..7f0698e4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -390,8 +390,6 @@ meta_display_open (void)
                                         sn_error_trap_pop);
 #endif
 
-  the_display->events = NULL;
-
   /* Get events */
   meta_ui_add_event_func (the_display->xdisplay,
                           event_callback,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]