comparison event.c @ 31:386649deb651

before leaning things up
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:04:38 +0200
parents 2e0fb4130bfb
children 082c75b937b5
comparison
equal deleted inserted replaced
30:2e0fb4130bfb 31:386649deb651
124 return; 124 return;
125 125
126 if((c = getclient(ev->window))) 126 if((c = getclient(ev->window)))
127 focus(c); 127 focus(c);
128 else if(ev->window == root) 128 else if(ev->window == root)
129 sel_screen = True; 129 issel = True;
130 } 130 }
131 131
132 static void 132 static void
133 leavenotify(XEvent *e) 133 leavenotify(XEvent *e)
134 { 134 {
135 XCrossingEvent *ev = &e->xcrossing; 135 XCrossingEvent *ev = &e->xcrossing;
136 136
137 if((ev->window == root) && !ev->same_screen) 137 if((ev->window == root) && !ev->same_screen)
138 sel_screen = True; 138 issel = True;
139 } 139 }
140 140
141 static void 141 static void
142 expose(XEvent *e) 142 expose(XEvent *e)
143 { 143 {