~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/dmx/dmxinit.c

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-01-23 16:09:29 UTC
  • mfrom: (1.1.46) (0.11.34 sid)
  • Revision ID: package-import@ubuntu.com-20120123160929-k4xdb9b7xeesiukp
Tags: 2:1.11.3-0ubuntu8
* debian/patches/224_return_BadWindow_not_BadMatch.diff:
  - Fix the error values of a whole slew of window-related calls.
    Fixes some gnome-settings-daemon aborts in XLib (LP: #903973)

Show diffs side-by-side

added added

removed removed

Lines of Context:
821
821
/** This function is called in Xserver/os/utils.c from \a AbortServer().
822
822
 * We must ensure that backend and console state is restored in the
823
823
 * event the server shutdown wasn't clean. */
824
 
void AbortDDX(void)
 
824
void AbortDDX(enum ExitCode error)
825
825
{
826
826
    int i;
827
827
 
842
842
/** This function is called in Xserver/dix/main.c from \a main() when
843
843
 * dispatchException & DE_TERMINATE (which is the only way to exit the
844
844
 * main loop without an interruption. */
845
 
void ddxGiveUp(void)
 
845
void ddxGiveUp(enum ExitCode error)
846
846
{
847
 
    AbortDDX();
 
847
    AbortDDX(error);
848
848
}
849
849
 
850
850
/** This function is called in Xserver/os/osinit.c from \a OsInit(). */