Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
compiz-fusion-plugins-main
compiz-fusion-plugins-expo.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiz-fusion-plugins-expo.patch of Package compiz-fusion-plugins-main
diff -Nurp o/src/expo/expo.c n/src/expo/expo.c --- o/src/expo/expo.c 2010-02-06 14:16:28.000000000 +0800 +++ n/src/expo/expo.c 2010-02-06 14:12:50.000000000 +0800 @@ -1576,10 +1576,6 @@ expoDonePaintScreen (CompScreen * s) continue; } - if (!(w->type & (CompWindowTypeNormalMask | - CompWindowTypeFullscreenMask))) - continue; - xOffset = s->hsize * s->width; yOffset = s->vsize * s->height; @@ -1601,6 +1597,18 @@ expoDonePaintScreen (CompScreen * s) if (!inWindow) continue; + /* make sure we never move windows we're not allowed to move */ + if (!w->managed) + w = NULL; + else if (!(w->actions & CompWindowActionMoveMask)) + w = NULL; + else if (w->type & (CompWindowTypeDockMask | + CompWindowTypeDesktopMask)) + w = NULL; + + if (!w) + break; + es->dndState = DnDDuring; es->dndWindow = w; @@ -1617,7 +1625,7 @@ expoDonePaintScreen (CompScreen * s) } else { - /* no window was hovered */ + /* no movable window was hovered */ es->dndState = DnDNone; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor