1
0
Fork 0

Patch from Björn Lindqvist to fix a logic error. #322149.

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

	Patch from Björn Lindqvist to fix a logic error.  #322149.

	* src/window.c (update_resize): && should have been ||.
This commit is contained in:
Elijah Newren 2006-01-02 18:48:30 +00:00 committed by Elijah Newren
parent ebd0c7e9a6
commit 339948fcf2
2 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2006-01-02 Elijah Newren <newren@gmail.com>
Patch from Björn Lindqvist to fix a logic error. #322149.
* src/window.c (update_resize): && should have been ||.
2006-01-02 Elijah Newren <newren@gmail.com>
Patch from Jens Granseuer to fix build with gcc 2.95. #322622.
@ -18,7 +24,6 @@
* src/window.c (meta_window_new_with_attrs,
meta_window_apply_session_info, meta_window_resize,
meta_window_resize_with_gravity, meta_window_configure_request):
Remove C99 style variable initiailization
2006-01-02 Elijah Newren <newren@gmail.com>

View file

@ -6894,11 +6894,8 @@ update_resize (MetaWindow *window,
}
/* Store the latest resize time, if we actually resized. */
if (window->rect.width != old.width &&
window->rect.height != old.height)
{
g_get_current_time (&window->display->grab_last_moveresize_time);
}
if (window->rect.width != old.width || window->rect.height != old.height)
g_get_current_time (&window->display->grab_last_moveresize_time);
}
typedef struct