mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-14 00:01:20 +00:00
Add RRInit function to create resource types for RR objects.
To allow RandR objects to be created before the screen object exists, the resource types must be registered with the resource database. A driver wishing to create RandR objects must call RRInit before doing so. Also, fix a segfault when setting Output data before it is associated with a screen.
This commit is contained in:
parent
ec77a95a02
commit
0dee48b8af
3 changed files with 41 additions and 18 deletions
|
|
@ -384,6 +384,8 @@ RRTellChanged (ScreenPtr pScreen);
|
|||
Bool
|
||||
RRGetInfo (ScreenPtr pScreen);
|
||||
|
||||
Bool RRInit (void);
|
||||
|
||||
Bool RRScreenInit(ScreenPtr pScreen);
|
||||
|
||||
RROutputPtr
|
||||
|
|
|
|||
Loading…
Reference in a new issue