summaryrefslogtreecommitdiff
path: root/src/kmscon_seat.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-18 18:33:03 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2013-10-18 18:33:03 +0200
commit53f163537c034d102a33471a8ce01565c184312d (patch)
tree0ec2468705f51655c8c9b6e01f25644077752497 /src/kmscon_seat.h
parentb17b3c93780156a5f3fbdaf836413f21f668d9f2 (diff)
seat: forward UTERM_REFRESH events to sessions
On UTERM_REFRESH events we now forward the event to all sessions on the bound seat. Sessions can then react to it and repaint the screen. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src/kmscon_seat.h')
-rw-r--r--src/kmscon_seat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kmscon_seat.h b/src/kmscon_seat.h
index 9c20eef..8116968 100644
--- a/src/kmscon_seat.h
+++ b/src/kmscon_seat.h
@@ -58,6 +58,7 @@ typedef int (*kmscon_seat_cb_t) (struct kmscon_seat *seat,
enum kmscon_session_event_type {
KMSCON_SESSION_DISPLAY_NEW,
KMSCON_SESSION_DISPLAY_GONE,
+ KMSCON_SESSION_DISPLAY_REFRESH,
KMSCON_SESSION_ACTIVATE,
KMSCON_SESSION_DEACTIVATE,
KMSCON_SESSION_UNREGISTER,
@@ -87,6 +88,8 @@ int kmscon_seat_add_display(struct kmscon_seat *seat,
struct uterm_display *disp);
void kmscon_seat_remove_display(struct kmscon_seat *seat,
struct uterm_display *disp);
+void kmscon_seat_refresh_display(struct kmscon_seat *seat,
+ struct uterm_display *disp);
int kmscon_seat_add_input(struct kmscon_seat *seat, const char *node);
void kmscon_seat_remove_input(struct kmscon_seat *seat, const char *node);