diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-13 16:36:24 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-13 16:36:24 +0100 |
commit | c3867623ae93eca77ba6e4f3d851240442f02caf (patch) | |
tree | c699ffbb3c22a919785ee51ced41ff9344a42b21 /sys/src/cmd/rio/dat.h | |
parent | eeb96dca21dfc28afa69f3d00fa6f2cdb7e9b1b8 (diff) |
rio: fix wrong frame colors when moving non-current window
When a window is moved or reshaped, that implicitely tops
the window and makes it current. The conseqence of this
is that we always have to redraw the window as if it where
a current window in any case. This was handled for Reshaped
windows, but not when the window was just moved. We now
handle both cases the exact same way, getting rid of the
Moved wctl message.
Diffstat (limited to 'sys/src/cmd/rio/dat.h')
-rw-r--r-- | sys/src/cmd/rio/dat.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/cmd/rio/dat.h b/sys/src/cmd/rio/dat.h index e1cf5523f..73f03eaf7 100644 --- a/sys/src/cmd/rio/dat.h +++ b/sys/src/cmd/rio/dat.h @@ -60,7 +60,6 @@ enum /* control messages */ { Wakeup, Reshaped, - Moved, Topped, Repaint, Refresh, @@ -210,9 +209,9 @@ void wmovemouse(Window*, Point); void wpaste(Window*); void wplumb(Window*); void wlook(Window*); -void wrefresh(Window*, Rectangle); +void wrefresh(Window*); void wrepaint(Window*); -void wresize(Window*, Image*, int); +void wresize(Window*, Image*); void wscrdraw(Window*); void wscroll(Window*, int); void wselect(Window*); |