notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenv: add minimize functionality
[libpicofe.git]
/
linux
/
xenv.h
diff --git
a/linux/xenv.h
b/linux/xenv.h
index
4c5281c
..
cd1bc70
100644
(file)
--- a/
linux/xenv.h
+++ b/
linux/xenv.h
@@
-1,5
+1,5
@@
-int xenv_init(int *have_mouse_events);
+int xenv_init(int *have_mouse_events
, const char *window_title
);
/* read events from X, calling key_cb for key, mouseb_cb for mouse button
* and mousem_cb for mouse motion events */
/* read events from X, calling key_cb for key, mouseb_cb for mouse button
* and mousem_cb for mouse motion events */
@@
-8,5
+8,6
@@
int xenv_update(int (*key_cb)(void *cb_arg, int kc, int is_pressed),
int (*mousem_cb)(void *cb_arg, int x, int y),
void *cb_arg);
int (*mousem_cb)(void *cb_arg, int x, int y),
void *cb_arg);
+int xenv_minimize(void);
void xenv_finish(void);
void xenv_finish(void);