Wrong colormap in colorselection.



Hi,

I noticed a bug in the colorselection dialog, as used in testgtk. I'm
working on an 8 Bit Display, and it seems, that a private colormap gets
installed when moving focus to that window, but directly after this the
old (global) colormap gets reinstalled. 'xev' says:

----------8<------------------------------8<----------------8<--------
FocusIn event, serial 5, synthetic NO, window 0x340004b,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 5, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ColormapNotify event, serial 5, synthetic NO, window 0x340004b,
    colormap 0x21, new NO, state ColormapUninstalled

ColormapNotify event, serial 5, synthetic NO, window 0x340004b,
    colormap 0x21, new NO, state ColormapInstalled
----------8<------------------------------8<----------------8<--------

Hope, that helps.

Bye,
Sebastian

-- 
+--------------============####################============--------------+
| Sebastian Wilhelmi, Institute for Computer Design and Fault Tolerance, |
| University of Karlsruhe;  Building 20.20, Room 263,  D-76128 Karlsruhe |
| mail: wilhelmi@ira.uka.de;  fax: +49 721 370455;  fon: +49 721 6084353 |
+-----------------> http://goethe.ira.uka.de/~wilhelmi <-----------------+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]