comparison src/aosd/ghosd-main.c @ 623:443de962d0a0 trunk

[svn] - aosd: revert window type setting
author giacomo
date Thu, 08 Feb 2007 16:20:27 -0800
parents 6584e697e6da
children 16e51fb5908e
comparison
equal deleted inserted replaced
622:70f3b14434b2 623:443de962d0a0
22 22
23 static void 23 static void
24 ghosd_main_iteration(Ghosd *ghosd) { 24 ghosd_main_iteration(Ghosd *ghosd) {
25 XEvent ev, pev; 25 XEvent ev, pev;
26 XNextEvent(ghosd->dpy, &ev); 26 XNextEvent(ghosd->dpy, &ev);
27 27
28 /* smash multiple configure/exposes into one. */ 28 /* smash multiple configure/exposes into one. */
29 if (ev.type == ConfigureNotify) { 29 if (ev.type == ConfigureNotify) {
30 while (XPending(ghosd->dpy)) { 30 while (XPending(ghosd->dpy)) {
31 XPeekEvent(ghosd->dpy, &pev); 31 XPeekEvent(ghosd->dpy, &pev);
32 if (pev.type != ConfigureNotify && pev.type != Expose) 32 if (pev.type != ConfigureNotify && pev.type != Expose)