xserver/Xext
Ville Syrjälä f7dae972aa xv: Don't send port notify when SetPortAttribute fails
Currently a port notify event is sent even if SetPortAttribute
fails. Furthermore the value field in the event will contain the
value that was specified in the failed request. So any client
interested in the actual value of the attribute will have to
double check the current value with GetPortAttribute after
receiving a port notify event.

Fix the problem by sending port notifications only when
SetPortAttribute succeeds.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-21 19:03:20 -07:00
..
Makefile.am
bigreq.c
dpms.c
dpmsproc.h
dpmsstubs.c
geext.c
geext.h
geint.h
panoramiX.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
panoramiX.h
panoramiXSwap.c
panoramiXh.h
panoramiXprocs.c Fix a couple more possible errors with input-only windows 2010-06-10 19:15:28 -07:00
panoramiXsrv.h
saver.c
security.c SecurityResource should not segfault when client owning resource has exited 2010-06-10 18:58:54 -07:00
securitysrv.h
shape.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shm.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shmint.h
sleepuntil.c
sleepuntil.h
sync.c
syncsrv.h
xace.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xace.h
xacestr.h
xcalibrate.c
xcmisc.c
xf86bigfont.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf86bigfontsrv.h
xres.c
xselinux.h
xselinux_ext.c
xselinux_hooks.c
xselinux_label.c
xselinuxint.h
xtest.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xvdisp.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xvdisp.h
xvdix.h
xvmain.c xv: Don't send port notify when SetPortAttribute fails 2010-06-21 19:03:20 -07:00
xvmc.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xvmcext.h