~ubuntu-branches/ubuntu/maverick/xorg-server/maverick-security

« back to all changes in this revision

Viewing changes to hw/dmx/doc/html/dmxconsole_8h.html

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2010-08-05 11:25:14 UTC
  • mfrom: (1.1.35 upstream) (0.1.14 experimental)
  • Revision ID: james.westby@ubuntu.com-20100805112514-q4efdgj3nblevos2
Tags: 2:1.8.99.905-1ubuntu1
* Merge from (unreleased) Debian experimental.  Remaining Ubuntu changes:
  - rules, control:
    + Disable SELinux, libaudit-dev is not in main yet (LP 406226).
      Drop libaudit-dev from build-deps.
  - rules: Enable xcsecurity (LP 247537).
  - local/xvfb-run*: Add correct docs about error codes (LP 328205)
  - rules: Add --with-extra-module-dir to support GL alternatives.
  - control: Xvfb depends on xauth, x11-xkb-utils. (LP 500102)
  - rules, local/64-xorg-xkb.rules: Don't use keyboard-configuration
    until it's available.
  - control: Update some versioned Breaks for Ubuntu versions.
  - debian/patches:
    + 100_rethrow_signals.patch:
      When aborting, re-raise signals for apport
    + 109_fix-swcursor-crash.patch:
      Avoid dereferencing null pointer while reloading cursors during
      resume. (LP 371405)
    + 111_armel-drv-fallbacks.patch:
      Add support for armel driver fallbacks.
    + 121_only_switch_vt_when_active.diff:
      Add a check to prevent the X server from changing the VT when killing
      GDM from the console.
    + 122_xext_fix_card32_overflow_in_xauth.patch:
      Fix server crash when “xauth generate” is called with large timeout.
    + 157_check_null_modes.patch, 162_null_crtc_in_rotation.patch,
      166_nullptr_xinerama_keyrepeat.patch, 167_nullptr_xisbread.patch
      169_mipointer_nullptr_checks.patch,
      172_cwgetbackingpicture_nullptr_check.patch:
      Fix various segfaults in xserver by checking pointers for NULL
      values before dereferencing them.
    + 165_man_xorg_conf_no_device_ident.patch
      Correct man page
    + 168_glibc_trace_to_stderr.patch:
      Report abort traces to stderr instead of terminal
    + 184_virtual_devices_autodetect.patch:
      Use vesa for qemu device, which is not supported by cirrus
    + 187_edid_quirk_hp_nc8430.patch:
      Quirk for another LPL monitor (LP 380009)
    + 188_default_primary_to_first_busid.patch:
      Pick the first device and carry on (LP 459512)
    + 189_xserver_1.5.0_bg_none_root.patch:
      Create a root window with no background.
    + 190_cache-xkbcomp_output_for_fast_start_up.patch:
      Cache keyboard settings.
    + 191-Xorg-add-an-extra-module-path.patch:
      Add support for the alternatives module path.
    + 197_xvfb-randr.patch:
      Adds xrandr support to xvfb. (LP 516123)
    + 198_nohwaccess.patch:
      Adds a -nohwaccess argument to make X not access the hardware
      ports directly.
    + 200_randr-null.patch:
      Clarify a pointer initialization.
* Update changelog entries for 1.8.1.902-1 which became 1.8.99.904-1
* Drop 196_xvfbscreeninit-handling.patch: it's semantically empty, and now 
  doesn't apply.  Merge remaining #include change into 197_xvfb-randr.patch
* New upstream version will start correctly when no outputs are connected,
  as long as the video driver can dynamically resize the framebuffer
  (true for all KMS drivers) (LP: #337889)
* New upstream version fixes crash on non-admin logout with KDE (LP: #569879)
* Refresh 111_armel-drv-fallbacks.patch to fix the build on armel

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    <link href="doxygen.css" rel="stylesheet" type="text/css">
7
7
  </head>
8
8
  <body>
9
 
<!-- Generated by Doxygen 1.6.2-20100208 -->
 
9
<!-- Generated by Doxygen 1.6.3 -->
10
10
<div class="navigation" id="top">
11
11
  <div class="tabs">
12
12
    <ul>
64
64
<div class="memdoc">
65
65
<p>This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display. </p>
66
66
 
67
 
<p>References <a class="el" href="dmxconsole_8c_source.html#l00109">_myPrivate::captured</a>, <a class="el" href="dmxconsole_8c_source.html#l00100">_myPrivate::curX</a>, <a class="el" href="dmxconsole_8c_source.html#l00101">_myPrivate::curY</a>, <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00064">DMX_LOCAL_MOUSE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00070">DMX_LOCAL_TYPE_CONSOLE</a>, <a class="el" href="dmxconsole_8c_source.html#l00306">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxcursor_8c_source.html#l00105">DMXDBG0</a>, <a class="el" href="dmxcursor_8c_source.html#l00108">DMXDBG3</a>, <a class="el" href="dmxconsole_8c_source.html#l00963">dmxDump()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00185">_DMXLocalInputInfo::extType</a>, <a class="el" href="dmxconsole_8c_source.html#l00109">_myPrivate::fine</a>, <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00229">_DMXLocalInputInfo::private</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00184">_DMXLocalInputInfo::type</a>.</p>
 
67
<p>References <a class="el" href="dmxconsole_8c_source.html#l00109">_myPrivate::captured</a>, <a class="el" href="dmxconsole_8c_source.html#l00100">_myPrivate::curX</a>, <a class="el" href="dmxconsole_8c_source.html#l00101">_myPrivate::curY</a>, <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00064">DMX_LOCAL_MOUSE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00070">DMX_LOCAL_TYPE_CONSOLE</a>, <a class="el" href="dmxconsole_8c_source.html#l00305">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxcursor_8c_source.html#l00105">DMXDBG0</a>, <a class="el" href="dmxcursor_8c_source.html#l00108">DMXDBG3</a>, <a class="el" href="dmxconsole_8c_source.html#l00962">dmxDump()</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00185">_DMXLocalInputInfo::extType</a>, <a class="el" href="dmxconsole_8c_source.html#l00109">_myPrivate::fine</a>, <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00229">_DMXLocalInputInfo::private</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00184">_DMXLocalInputInfo::type</a>.</p>
68
68
 
69
69
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00240">dmxBackendUpdatePosition()</a>.</p>
70
70
 
114
114
<div class="memdoc">
115
115
<p>Collect all pending events from the console's display. Plase these events on the server event queue using the <em>motion</em> and <em>enqueue</em> routines. The <em>checkspecial</em> routine is used to check for special keys that need handling. <em>block</em> tells if signals should be blocked when updating the event queue. </p>
116
116
 
117
 
<p>References <a class="el" href="dmxcommon_8c_source.html#l00621">dmxCommonRestoreState()</a>, <a class="el" href="dmxcommon_8c_source.html#l00567">dmxCommonSaveState()</a>, <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>, <a class="el" href="dmxconsole_8c_source.html#l00385">dmxConsoleMoveAbsolute()</a>, <a class="el" href="dmxconsole_8c_source.html#l00402">dmxConsoleMoveRelative()</a>, <a class="el" href="dmxconsole_8c_source.html#l01015">dmxConsoleUncapture()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxcursor_8c_source.html#l00109">DMXDBG4</a>, <a class="el" href="dmxcursor_8c_source.html#l00110">DMXDBG5</a>, <a class="el" href="dmxcursor_8c_source.html#l00111">DMXDBG6</a>, <a class="el" href="usb-private_8h_source.html#l00115">_myPrivate::dmxInput</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="dmxconsole_8c_source.html#l00103">_myPrivate::height</a>, and <a class="el" href="dmxconsole_8c_source.html#l00102">_myPrivate::width</a>.</p>
 
117
<p>References <a class="el" href="dmxcommon_8c_source.html#l00620">dmxCommonRestoreState()</a>, <a class="el" href="dmxcommon_8c_source.html#l00566">dmxCommonSaveState()</a>, <a class="el" href="dmxconsole_8c_source.html#l00252">dmxConsoleDraw()</a>, <a class="el" href="dmxconsole_8c_source.html#l00384">dmxConsoleMoveAbsolute()</a>, <a class="el" href="dmxconsole_8c_source.html#l00401">dmxConsoleMoveRelative()</a>, <a class="el" href="dmxconsole_8c_source.html#l01014">dmxConsoleUncapture()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxcursor_8c_source.html#l00109">DMXDBG4</a>, <a class="el" href="dmxcursor_8c_source.html#l00110">DMXDBG5</a>, <a class="el" href="dmxcursor_8c_source.html#l00111">DMXDBG6</a>, <a class="el" href="usb-private_8h_source.html#l00115">_myPrivate::dmxInput</a>, <a class="el" href="dmxcommon_8h_source.html#l00077">GETDMXINPUTFROMPRIV</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="dmxconsole_8c_source.html#l00103">_myPrivate::height</a>, and <a class="el" href="dmxconsole_8c_source.html#l00102">_myPrivate::width</a>.</p>
118
118
 
119
119
</div>
120
120
</div>
184
184
<div class="memdoc">
185
185
<p>Handle special console-only keys. </p>
186
186
 
187
 
<p>References <a class="el" href="dmxinputinit_8h_source.html#l00058">DMX_FUNCTION_FINE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00056">DMX_FUNCTION_GRAB</a>, <a class="el" href="dmxinputinit_8h_source.html#l00057">DMX_FUNCTION_TERMINATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00287">dmxConsoleClearCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00306">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxlog_8h_source.html#l00048">dmxError</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
 
187
<p>References <a class="el" href="dmxinputinit_8h_source.html#l00058">DMX_FUNCTION_FINE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00056">DMX_FUNCTION_GRAB</a>, <a class="el" href="dmxinputinit_8h_source.html#l00057">DMX_FUNCTION_TERMINATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00286">dmxConsoleClearCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00305">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxlog_8h_source.html#l00048">dmxError</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
188
188
 
189
189
</div>
190
190
</div>
205
205
<div class="memdoc">
206
206
<p>Initialized the console device described by <em>pDev</em>. </p>
207
207
 
208
 
<p>References <a class="el" href="dmxconsole_8c_source.html#l00113">_myPrivate::CloseScreen</a>, <a class="el" href="dmxconsole_8c_source.html#l00066">CONSOLE_BG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00068">CONSOLE_SCREEN_BG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00071">CONSOLE_SCREEN_CUR_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00070">CONSOLE_SCREEN_DET_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00069">CONSOLE_SCREEN_FG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00063">DMX_CONSOLE_NAME</a>, <a class="el" href="dmxinputinit_8h_source.html#l00063">DMX_LOCAL_KEYBOARD</a>, <a class="el" href="dmxinputinit_8h_source.html#l00064">DMX_LOCAL_MOUSE</a>, <a class="el" href="dmxconsole_8c_source.html#l00065">DMX_RES_CLASS</a>, <a class="el" href="dmxconsole_8c_source.html#l00064">DMX_RES_NAME</a>, <a class="el" href="dmx_8h_source.html#l00320">DMX_WRAP</a>, <a class="el" href="dmxconsole_8c_source.html#l00610">dmxCloseConsoleScreen()</a>, <a class="el" href="dmxconsole_8c_source.html#l00644">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxconsole_8c_source.html#l00623">dmxConsoleCreateEmptyCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="usb-private_8h_source.html#l00115">_myPrivate::dmxInput</a>, <a class="el" href="dmxinit_8c_source.html#l00087">dmxInputs</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxscrinit_8c_source.html#l00078">dmxScreenPrivateKey</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="usb-private_8h_source.html#l00103">_myPrivate::mask</a>, <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
 
208
<p>References <a class="el" href="dmxconsole_8c_source.html#l00113">_myPrivate::CloseScreen</a>, <a class="el" href="dmxconsole_8c_source.html#l00066">CONSOLE_BG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00068">CONSOLE_SCREEN_BG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00071">CONSOLE_SCREEN_CUR_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00070">CONSOLE_SCREEN_DET_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00069">CONSOLE_SCREEN_FG_COLOR</a>, <a class="el" href="dmxconsole_8c_source.html#l00063">DMX_CONSOLE_NAME</a>, <a class="el" href="dmxinputinit_8h_source.html#l00063">DMX_LOCAL_KEYBOARD</a>, <a class="el" href="dmxinputinit_8h_source.html#l00064">DMX_LOCAL_MOUSE</a>, <a class="el" href="dmxconsole_8c_source.html#l00065">DMX_RES_CLASS</a>, <a class="el" href="dmxconsole_8c_source.html#l00064">DMX_RES_NAME</a>, <a class="el" href="dmx_8h_source.html#l00316">DMX_WRAP</a>, <a class="el" href="dmxconsole_8c_source.html#l00609">dmxCloseConsoleScreen()</a>, <a class="el" href="dmxconsole_8c_source.html#l00643">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxconsole_8c_source.html#l00622">dmxConsoleCreateEmptyCursor()</a>, <a class="el" href="dmxconsole_8c_source.html#l00252">dmxConsoleDraw()</a>, <a class="el" href="dmxlog_8h_source.html#l00051">dmxFatal</a>, <a class="el" href="usb-private_8h_source.html#l00115">_myPrivate::dmxInput</a>, <a class="el" href="dmxinit_8c_source.html#l00085">dmxInputs</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmx_8h_source.html#l00379">dmxScreenPrivateKey</a>, <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>, <a class="el" href="usb-private_8h_source.html#l00103">_myPrivate::mask</a>, <a class="el" href="dmxinput_8h_source.html#l00085">_DMXInputInfo::name</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
209
209
 
210
210
</div>
211
211
</div>
313
313
<div class="memdoc">
314
314
<p>Re-initialized the console device described by <em>pDev</em> (after a reconfig). </p>
315
315
 
316
 
<p>References <a class="el" href="dmxconsole_8c_source.html#l00644">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>
 
316
<p>References <a class="el" href="dmxconsole_8c_source.html#l00643">dmxConsoleComputeWidthHeight()</a>, <a class="el" href="dmxconsole_8c_source.html#l00252">dmxConsoleDraw()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00091">GETPRIVFROMPDEV</a>.</p>
317
317
 
318
318
</div>
319
319
</div>
336
336
 
337
337
<p>References <a class="el" href="dmxconsole_8c_source.html#l00109">_myPrivate::captured</a>, <a class="el" href="dmxinput_8h_source.html#l00125">_DMXInputInfo::devs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00064">DMX_LOCAL_MOUSE</a>, <a class="el" href="dmxinputinit_8h_source.html#l00070">DMX_LOCAL_TYPE_CONSOLE</a>, <a class="el" href="dmxcursor_8c_source.html#l00105">DMXDBG0</a>, <a class="el" href="dmxsync_8c_source.html#l00150">dmxSync()</a>, <a class="el" href="dmxinputinit_8h_source.html#l00185">_DMXLocalInputInfo::extType</a>, <a class="el" href="dmxinput_8h_source.html#l00119">_DMXInputInfo::numDevs</a>, <a class="el" href="dmxinputinit_8h_source.html#l00229">_DMXLocalInputInfo::private</a>, and <a class="el" href="dmxinputinit_8h_source.html#l00184">_DMXLocalInputInfo::type</a>.</p>
338
338
 
339
 
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00240">dmxBackendUpdatePosition()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00458">dmxConsoleCollectEvents()</a>.</p>
 
339
<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00240">dmxBackendUpdatePosition()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00457">dmxConsoleCollectEvents()</a>.</p>
340
340
 
341
341
</div>
342
342
</div>
372
372
<div class="memdoc">
373
373
<p>Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the <em>pWindow</em> that changed and the <em>type</em> of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes. </p>
374
374
 
375
 
<p>References <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>.</p>
 
375
<p>References <a class="el" href="dmxconsole_8c_source.html#l00252">dmxConsoleDraw()</a>, and <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>.</p>
376
376
 
377
377
</div>
378
378
</div>
408
408
<div class="memdoc">
409
409
<p>This routine gets called from <a class="el" href="dmxevents_8c.html#adf2928cf693dab61adafad503e81d2dc">dmxCoreMotion</a> for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change. </p>
410
410
 
411
 
<p>References <a class="el" href="dmxconsole_8c_source.html#l00253">dmxConsoleDraw()</a>, <a class="el" href="dmxconsole_8c_source.html#l00306">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxcursor_8c_source.html#l00111">DMXDBG6</a>, <a class="el" href="dmxscrinit_8c_source.html#l00067">dmxGeneration</a>, <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
 
411
<p>References <a class="el" href="dmxconsole_8c_source.html#l00252">dmxConsoleDraw()</a>, <a class="el" href="dmxconsole_8c_source.html#l00305">dmxConsoleUpdateFineCursor()</a>, <a class="el" href="dmxcursor_8c_source.html#l00107">DMXDBG2</a>, <a class="el" href="dmxcursor_8c_source.html#l00111">DMXDBG6</a>, <a class="el" href="dmxscrinit_8c_source.html#l00065">dmxGeneration</a>, <a class="el" href="dmxcommon_8h_source.html#l00066">GETONLYPRIVFROMPRIVATE</a>, <a class="el" href="dmxconsole_8c_source.html#l00119">scalex()</a>, and <a class="el" href="dmxconsole_8c_source.html#l00124">scaley()</a>.</p>
412
412
 
413
413
</div>
414
414
</div>