summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Riedi <andrewriedi@gmail.com>2007-07-09 22:36:22 -0700
committerAndrew Riedi <andrewriedi@gmail.com>2007-07-09 22:36:22 -0700
commit1b660446987c3f134b09cacd2c577943511018a4 (patch)
treebabeb626b8cb646627f81bca5ac3b26ff49a8169
parent406dd1ac67a5af769e2fbe7192c10fdeb4293723 (diff)
downloadworkarounds-1b660446987c3f134b09cacd2c577943511018a4.tar.gz
workarounds-1b660446987c3f134b09cacd2c577943511018a4.tar.bz2
Fix a bug such that videos will now be able to unfullscreen.
-rw-r--r--workarounds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/workarounds.c b/workarounds.c
index 8333b55..a81cdb3 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 )