[beryl-commits] r2262 - branches/beryl-plugins/group-tabbed
maniac at server.beryl-project.org
maniac at server.beryl-project.org
Tue Jan 2 11:22:57 CET 2007
Author: maniac
Date: 2007-01-02 10:22:56 +0000 (Tue, 02 Jan 2007)
New Revision: 2262
Modified:
branches/beryl-plugins/group-tabbed/group.c
Log:
group-tab-branch: fixed text flicker on mouse move (now if we only had motion notifeies without hacking core...)
Modified: branches/beryl-plugins/group-tabbed/group.c
===================================================================
--- branches/beryl-plugins/group-tabbed/group.c 2007-01-02 10:22:25 UTC (rev 2261)
+++ branches/beryl-plugins/group-tabbed/group.c 2007-01-02 10:22:56 UTC (rev 2262)
@@ -527,13 +527,12 @@
if ((event->xmotion.window == group->inputPrevention.id) && group->tabBar) {
GroupTabBarSlot *slot;
for (slot = group->tabBar->slots; slot; slot = slot->next) {
- if (XPointInRegion(slot->region, event->xmotion.x_root,
- event->xmotion.y_root)) {
+ if (XPointInRegion(slot->region, d->pointerX, d->pointerY)) {
+ hasText = TRUE;
if (slot != group->tabBar->lastHoveredSlot) {
group->tabBar->lastHoveredSlot = slot;
groupRenderWindowTitle(s, group);
damageScreenRegion(s, group->tabBar->region);
- hasText = TRUE;
break;
}
}
More information about the commits
mailing list