search for: comp_screen_option_refresh_r

Displaying 3 results from an estimated 3 matches for "comp_screen_option_refresh_r".

2007 Apr 02
1
possible division by zero in screen.c
Hi, In detectRefreshRateOfScreen(), we have s->redrawTime = 1000 / s->opt[COMP_SCREEN_OPTION_REFRESH_RATE].value.i; When the refresh rate is autodetected through RandR's XRRConfigCurrentRate function, 0 can be returned in certain cases, leading to division by zero. An example of this situation would be the DynamicTwinView option in the nVidia proprietary drivers[0] (note that this is the def...
2006 Oct 25
2
[PATCH] Edge buttons
...tScreenOption (CompScreen *screen if (compSetBoolOption (o, value)) return TRUE; break; + case COMP_SCREEN_OPTION_EDGE_SIZE: + if (compSetIntOption (o, value)) + { + updateScreenEdges (screen); + return TRUE; + } + break; case COMP_SCREEN_OPTION_REFRESH_RATE: if (screen->opt[COMP_SCREEN_OPTION_DETECT_REFRESH_RATE].value.b) return FALSE; @@ -338,6 +402,15 @@ compScreenInitOptions (CompScreen *scree "blanking period"); o->type = CompOptionTypeBool; o->value.b = SYNC_TO_VBLANK_DEFAULT; + + o =...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...Option (o, value)) > return TRUE; > break; > + case COMP_SCREEN_OPTION_EDGE_SIZE: > + if (compSetIntOption (o, value)) > + { > + updateScreenEdges (screen); > + return TRUE; > + } > + break; > case COMP_SCREEN_OPTION_REFRESH_RATE: > if (screen->opt[COMP_SCREEN_OPTION_DETECT_REFRESH_RATE].value.b) > return FALSE; > @@ -338,6 +402,15 @@ compScreenInitOptions (CompScreen *scree > "blanking period"); > o->type = CompOptionTypeBool; > o->value....