mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
fixed problem with filter selection for scaling
This commit is contained in:
@@ -634,6 +634,11 @@ RCreateContext(Display *dpy, int screen_number, RContextAttributes *attribs)
|
|||||||
context->attribs->standard_colormap_mode = RUseStdColormap;
|
context->attribs->standard_colormap_mode = RUseStdColormap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(context->attribs->flags & RC_ScalingFilter)) {
|
||||||
|
context->attribs->flags |= RC_ScalingFilter;
|
||||||
|
context->attribs->scaling_filter = RMitchellFilter;
|
||||||
|
}
|
||||||
|
|
||||||
/* get configuration from environment variables */
|
/* get configuration from environment variables */
|
||||||
gatherconfig(context, screen_number);
|
gatherconfig(context, screen_number);
|
||||||
#ifndef BENCH
|
#ifndef BENCH
|
||||||
|
|||||||
Reference in New Issue
Block a user