diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2011-09-18 17:17:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-06 20:32:44 -0300 |
commit | 347554fa3bc6b7b93b0b3389c634e325bc8bfa00 (patch) | |
tree | fa26956ece7adea11e5041ace0eaca810ffbd33f /src/xcommon.c | |
parent | 2a62d05407ec0d7c2739fb8c9f56d89e962821ca (diff) |
[media] Remove check for metacity
The result isn't used anyway and the problem probably doesn't
exist anymore either.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'src/xcommon.c')
-rw-r--r-- | src/xcommon.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/xcommon.c b/src/xcommon.c index 025c46b..7448fe7 100644 --- a/src/xcommon.c +++ b/src/xcommon.c @@ -85,7 +85,6 @@ static int matte_width; static int matte_height; static int alwaysontop; static int has_focus; -static int wm_is_metacity; static int use_square_pixels; static xfullscreen_t *xf; @@ -854,7 +853,6 @@ int xcommon_open_display( const char *user_geometry, int aspect, int verbose ) matte_height = 0; alwaysontop = 0; has_focus = 0; - wm_is_metacity = 0; display = XOpenDisplay( 0 ); if( !display ) { @@ -1022,13 +1020,6 @@ int xcommon_open_display( const char *user_geometry, int aspect, int verbose ) fprintf( stderr, "xcommon: Window manager is %s and is EWMH compliant.\n", wmname ); } - if( !strcasecmp( wmname, "metacity" ) ) { - if( xcommon_verbose ) { - fprintf( stderr, "xcommon: You are using metacity. Disabling aspect ratio hints\n" - "xcommon: since most deployed versions of metacity are still broken.\n" ); - } - wm_is_metacity = 1; - } free( wmname ); |