summaryrefslogtreecommitdiffstats
path: root/client/application.h
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-12-26 17:11:18 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-12-28 12:36:21 +0200
commit62248734bdf23d70e3ec16d1881d7c96ca9f85db (patch)
tree38cc373b8807f95679cdf50b1385a1e5f5c0e262 /client/application.h
parentc6435ea02bb43e8f5285c5966283cbbf92e23f4e (diff)
downloadspice-62248734bdf23d70e3ec16d1881d7c96ca9f85db.tar.gz
spice-62248734bdf23d70e3ec16d1881d7c96ca9f85db.tar.xz
spice-62248734bdf23d70e3ec16d1881d7c96ca9f85db.zip
client: move visibility change logic from screen to app
Diffstat (limited to 'client/application.h')
-rw-r--r--client/application.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/application.h b/client/application.h
index c5e0e141..757ee3a2 100644
--- a/client/application.h
+++ b/client/application.h
@@ -55,6 +55,16 @@ private:
int _error_code;
};
+class VisibilityEvent: public Event {
+public:
+ VisibilityEvent(int screen_id) : _screen_id (screen_id) {}
+
+ virtual void response(AbstractProcessLoop& events_loop);
+
+private:
+ int _screen_id;
+};
+
struct MonitorInfo {
int depth;
Point size;
@@ -143,6 +153,7 @@ public:
virtual void on_display_mode_change();
void on_connected();
void on_disconnecting();
+ void on_visibility_start(int screen_id);
bool rearrange_monitors(RedScreen& screen);
void enter_full_screen();