1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-13 04:15:50 +01:00

- Fixed a flickering problem with the scrollview.

- Use of uppercase letters when getting keysyms
This commit is contained in:
dan
2000-11-16 18:07:12 +00:00
parent 2d20abd00e
commit 899226207d
3 changed files with 13 additions and 7 deletions

View File

@@ -73,8 +73,12 @@ WMCreateScrollView(WMWidget *parent)
sPtr->view->delegate = &_ScrollViewViewDelegate;
W_SetViewBackgroundColor(sPtr->viewport,
WMBlackColor(WMWidgetScreen(parent)));
/* This has a very bad effect when the scrollview is mapped, making it
* flicker with each item added to it. It also seems to draw slower.
* Why should it be black anyway? -Dan
*/
/*W_SetViewBackgroundColor(sPtr->viewport,
WMBlackColor(WMWidgetScreen(parent)));*/
sPtr->viewport->flags.mapWhenRealized = 1;
WMCreateEventHandler(sPtr->view, StructureNotifyMask|ExposureMask,