Mercurial > dwindows
view gtk/minimize.xpm @ 1509:02bfae9fd3e7
Rewrote part of _dw_get_frame_extents() on GTK2 to not use XIfEvent() since
it will block if it never gets an event... even with our timeout code.
Instead use a property notify GTK signal handler and wait up to a second
for the notification using dw_main_iteration().
Also fixed a problem with dw_main_iteration() not updating the _dw_thread properly.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 28 Dec 2011 13:12:12 +0000 |
parents | b3404a94a15d |
children |
line wrap: on
line source
/* XPM */ static char * minimize_xpm[] = { /* width height num_colors chars_per_pixel */ "15 15 5 1", /* colors */ " c white", ". c #5f5f5f", "X c gray75", "o c gray70", "O c black", /* pixels */ " .", " XXXXXXXXXXXX..", " XooooooooooX..", " XooooooooooX..", " XooooooooooX..", " XoooOOOOoooX..", " XoooOOOOoooX..", " XoooOOOOoooX..", " XoooOOOOoooX..", " XooooooooooX..", " XooooooooooX..", " XooooooooooX..", " XXXXXXXXXXXX..", " ..............", "..............."};