summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Riedi <andrewriedi@gmail.com>2007-07-09 22:44:23 -0700
committerAndrew Riedi <andrewriedi@gmail.com>2007-07-09 22:44:23 -0700
commitf10025c7f968cda56c30a21dd631020a10789dda (patch)
treee211c88275cf3999d67946aeb728f6026515c7f1
parent1b660446987c3f134b09cacd2c577943511018a4 (diff)
downloadworkarounds-f10025c7f968cda56c30a21dd631020a10789dda.tar.gz
workarounds-f10025c7f968cda56c30a21dd631020a10789dda.tar.bz2
Revert "Fix a bug such that videos will now be able to unfullscreen."
This reverts commit 1b660446987c3f134b09cacd2c577943511018a4.
-rw-r--r--workarounds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/workarounds.c b/workarounds.c
index a81cdb3..8333b55 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -78,16 +78,16 @@ static void workaroundsWindowResizeNotify( CompWindow *w, int dx, int dy,
{
WORKAROUNDS_SCREEN( w->screen );
- UNWRAP( ws, w->screen, windowResizeNotify );
- (*w->screen->windowResizeNotify) ( w, dx, dy, dwidth, dheight );
- WRAP( ws, w->screen, windowResizeNotify, workaroundsWindowResizeNotify );
-
if ( workaroundsGetLegacyApps( w->screen->display ) )
{
/* Fix up the window type. */
recalcWindowType( w );
workaroundsDoLegacyApps( w );
}
+
+ UNWRAP( ws, w->screen, windowResizeNotify );
+ (*w->screen->windowResizeNotify) ( w, dx, dy, dwidth, dheight );
+ WRAP( ws, w->screen, windowResizeNotify, workaroundsWindowResizeNotify );
}
static Bool workaroundsInitDisplay( CompPlugin *plugin, CompDisplay *d )