Ticket #2180: 0001-fullscreen-workaround.-Ticket-2180.patch

File 0001-fullscreen-workaround.-Ticket-2180.patch, 889 bytes (added by dipankar, 10 years ago)

workaround patch for the bug

  • src/jarabe/util/emulator.py

    From 2686ebfe9ee2c81cb8854b87d9b4ac93dc9582dd Mon Sep 17 00:00:00 2001
    From: Dipankar Patro <dipankar@seeta.in>
    Date: Wed, 18 Aug 2010 22:46:40 +0530
    Subject: [PATCH] fullscreen workaround. Ticket #2180
    
    ---
     src/jarabe/util/emulator.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
    index 5a99dbe..12b7142 100644
    a b def _run_xephyr(display, dpi, dimensions, fullscreen): 
    4040    screen_size = (gtk.gdk.screen_width(), gtk.gdk.screen_height())
    4141
    4242    if (not dimensions) and (fullscreen is None) and \
    43        (screen_size < default_dimensions) :
     43       (screen_size <= default_dimensions) :
    4444        # no forced settings, screen too small => fit screen
    4545        fullscreen = True
    4646    elif (not dimensions) :