aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/headless.rs3
-rw-r--r--src/x11/window/mod.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/x11/headless.rs b/src/x11/headless.rs
index 78fb985..3bcea29 100644
--- a/src/x11/headless.rs
+++ b/src/x11/headless.rs
@@ -52,6 +52,9 @@ impl HeadlessContext {
pub fn get_api(&self) -> ::Api {
::Api::OpenGl
}
+
+ pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ }
}
impl Drop for HeadlessContext {
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index a0e7078..0a3ba01 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -598,4 +598,7 @@ impl Window {
pub fn get_api(&self) -> ::Api {
::Api::OpenGl
}
+
+ pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ }
}