display: Remove get_leader_window

It's unused.
This commit is contained in:
Jasper St. Pierre 2014-03-20 16:46:21 -04:00
parent 337db2a660
commit 0de83ebfb5
2 changed files with 0 additions and 18 deletions

View File

@ -3574,22 +3574,6 @@ meta_display_get_shape_event_base (MetaDisplay *display)
} }
#endif #endif
/**
* meta_display_get_leader_window:
* @display: a #MetaDisplay
*
* Returns the window manager's leader window (as defined by the
* _NET_SUPPORTING_WM_CHECK mechanism of EWMH). For use by plugins that wish
* to attach additional custom properties to this window.
*
* Return value: (transfer none): xid of the leader window.
**/
Window
meta_display_get_leader_window (MetaDisplay *display)
{
return display->leader_window;
}
/** /**
* meta_display_clear_mouse_mode: * meta_display_clear_mouse_mode:
* @display: a #MetaDisplay * @display: a #MetaDisplay

View File

@ -174,8 +174,6 @@ void meta_display_focus_the_no_focus_window (MetaDisplay *display,
GSList *meta_display_sort_windows_by_stacking (MetaDisplay *display, GSList *meta_display_sort_windows_by_stacking (MetaDisplay *display,
GSList *windows); GSList *windows);
Window meta_display_get_leader_window (MetaDisplay *display);
void meta_display_add_ignored_crossing_serial (MetaDisplay *display, void meta_display_add_ignored_crossing_serial (MetaDisplay *display,
unsigned long serial); unsigned long serial);