Changeset 6b93305


Ignore:
Timestamp:
May 29, 2010, 1:14:57 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
d106110
Parents:
b0cbde4
git-author:
David Benjamin <davidben@mit.edu> (05/27/10 13:05:16)
git-committer:
David Benjamin <davidben@mit.edu> (05/29/10 13:14:57)
Message:
Skip moving if it does nothing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • window.c

    rb0cbde4 r6b93305  
    390390void owl_window_move(owl_window *w, int begin_y, int begin_x)
    391391{
    392   /* can't move the screen */
    393   if (w->is_screen) return;
     392  if (w->is_screen) return; /* can't move the screen */
     393  if (w->begin_y == begin_y && w->begin_x == begin_x) return;
    394394
    395395  w->begin_y = begin_y;
Note: See TracChangeset for help on using the changeset viewer.