From dfcefd3315b662f3b1349f519de095a093ab438e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 18 Mar 2014 21:11:36 -0400 Subject: [PATCH] Remove meta_core_increment_event_serial It's unused. --- src/core/core.c | 10 ---------- src/core/core.h | 6 ------ 2 files changed, 16 deletions(-) diff --git a/src/core/core.c b/src/core/core.c index 9f41a3577..0c46a2f22 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -718,16 +718,6 @@ meta_core_set_screen_cursor (Display *xdisplay, meta_frame_set_screen_cursor (window->frame, cursor); } -void -meta_core_increment_event_serial (Display *xdisplay) -{ - MetaDisplay *display; - - display = meta_display_for_x_display (xdisplay); - - meta_display_increment_event_serial (display); -} - void meta_invalidate_default_icons (void) { diff --git a/src/core/core.h b/src/core/core.h index a3321531b..4c9e58754 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -193,12 +193,6 @@ void meta_core_set_screen_cursor (Display *xdisplay, Window frame_on_screen, MetaCursor cursor); -/* Used because we ignore EnterNotify when a window is unmapped that - * really shouldn't cause focus changes, by comparing the event serial - * of the EnterNotify and the UnmapNotify. - */ -void meta_core_increment_event_serial (Display *display); - void meta_invalidate_default_icons (void); void meta_core_add_old_event_mask (Display *xdisplay,