Make extra timeout edge resistance apply even if one edge already

2006-01-09  Elijah Newren  <newren@gmail.com>

	* src/edge-resistance.c (apply_edge_resistance): Make extra
	timeout edge resistance apply even if one edge already offscreen.
	Fixes another of the zillions of issues covered in #321905.
This commit is contained in:
Elijah Newren 2006-01-10 04:36:36 +00:00 committed by Elijah Newren
parent 9516694385
commit 35532d14cb
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-01-09 Elijah Newren <newren@gmail.com>
* src/edge-resistance.c (apply_edge_resistance): Make extra
timeout edge resistance apply even if one edge already offscreen.
Fixes another of the zillions of issues covered in #321905.
2006-01-09 Elijah Newren <newren@gmail.com>
Allow edge resistance at both sides of a window and also when

View File

@ -495,12 +495,10 @@ apply_edge_resistance (MetaWindow *window,
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_WINDOW;
break;
case META_EDGE_XINERAMA:
if (window->require_on_single_xinerama)
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_XINERAMA;
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_XINERAMA;
break;
case META_EDGE_SCREEN:
if (window->require_fully_onscreen)
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
break;
}