xfixes: clean up request handling
1 unresolved thread
1 unresolved thread
Compare changes
Files
7- Enrico Weigelt, metux IT consult . authored
The dispatcher functions are much more complex than they're usually are (just switch/case statement). Bring them in line with the standard scheme used in the Xserver, so further steps become easier. It's also much cleaner to use the defines from proto headers instead of raw numbers. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
+ 83
− 98
@@ -229,11 +229,10 @@ XFixesSelectCursorInput(ClientPtr pClient, WindowPtr pWindow, CARD32 eventMask)
@@ -302,7 +301,7 @@ SProcXFixesSelectCursorInput(ClientPtr client)
@@ -361,9 +360,7 @@ int
@@ -378,49 +375,44 @@ ProcXFixesGetCursorImage(ClientPtr client)
@@ -448,16 +440,15 @@ SProcXFixesSetCursorName(ClientPtr client)
@@ -469,7 +460,7 @@ ProcXFixesGetCursorName(ClientPtr client)
@@ -477,12 +468,12 @@ ProcXFixesGetCursorName(ClientPtr client)
@@ -494,19 +485,17 @@ SProcXFixesGetCursorName(ClientPtr client)
@@ -524,55 +513,51 @@ ProcXFixesGetCursorImageAndName(ClientPtr client)
@@ -699,7 +684,7 @@ SProcXFixesChangeCursor(ClientPtr client)
@@ -736,7 +721,7 @@ SProcXFixesChangeCursorByName(ClientPtr client)
@@ -892,7 +877,7 @@ SProcXFixesHideCursor(ClientPtr client)
@@ -940,7 +925,7 @@ SProcXFixesShowCursor(ClientPtr client)
@@ -1026,7 +1011,7 @@ SProcXFixesCreatePointerBarrier(ClientPtr client)
@@ -1045,7 +1030,7 @@ SProcXFixesDestroyPointerBarrier(ClientPtr client)