Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
compiz
compiz-unmanaged-window-position.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiz-unmanaged-window-position.patch of Package compiz
Index: compiz-0.8.6/src/event.c =================================================================== --- compiz-0.8.6.orig/src/event.c +++ compiz-0.8.6/src/event.c @@ -2042,11 +2042,11 @@ handleEvent (CompDisplay *d, XWindowChanges xwc; unsigned int xwcm, source; - /* adjust for gravity */ + /* adjust for gravity, but only for frame size */ xwc.x = w->serverX; xwc.y = w->serverY; - xwc.width = w->serverWidth; - xwc.height = w->serverHeight; + xwc.width = 0; + xwc.height = 0; xwcm = adjustConfigureRequestForGravity (w, &xwc, CWX | CWY, Index: compiz-0.8.6/src/window.c =================================================================== --- compiz-0.8.6.orig/src/window.c +++ compiz-0.8.6/src/window.c @@ -2568,8 +2568,8 @@ unmapWindow (CompWindow *w) /* revert gravity adjustment made at MapRequest time */ xwc.x = w->serverX; xwc.y = w->serverY; - xwc.width = w->serverWidth; - xwc.height = w->serverHeight; + xwc.width = 0; + xwc.height = 0; xwcm = adjustConfigureRequestForGravity (w, &xwc, CWX | CWY,
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