]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/l4re/lib/src/video/goos.cc
update
[l4.git] / l4 / pkg / l4re / lib / src / video / goos.cc
index a6f7a37f8978dfea8cac46e8a27002d713c14859..5f5072e1ed7aa0c300ccf34341415f7d4d4680de 100644 (file)
@@ -93,4 +93,12 @@ Goos::delete_view(View const &v) const throw()
   return l4_error(io.call(cap(), L4Re::Protocol::Goos));
 }
 
+int
+Goos::refresh(int x, int y, int w, int h) throw()
+{
+  L4::Ipc_iostream io(l4_utcb());
+  io << Opcode(Goos_::Screen_refresh) << x << y << w << h;
+  return l4_error(io.call(cap(), L4Re::Protocol::Goos));
+}
+
 }}