diff options
author | Havoc Pennington <hp@pobox.com> | 2001-10-07 18:07:29 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-10-07 18:07:29 +0000 |
commit | 31fa453a49be390f652090613562974d7e7be185 (patch) | |
tree | 502458b5fcd91b3a7d6a7f34f87fe2eecdd3bbf4 /libwnck/private.h | |
parent | 8fd78c92e710b145266576792c266cc5382f742b (diff) | |
download | libwnck-31fa453a49be390f652090613562974d7e7be185.tar.gz |
add support for getting session ID, pid
2001-10-07 Havoc Pennington <hp@pobox.com>
* libwnck/window.c: add support for getting session ID, pid
* libwnck/application.c: implement creation/destruction of the
application object, and its association with a window
* libwnck/window.c: add code to monitor a window's current
workspace
Diffstat (limited to 'libwnck/private.h')
-rw-r--r-- | libwnck/private.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libwnck/private.h b/libwnck/private.h index 28b0329..996b4a1 100644 --- a/libwnck/private.h +++ b/libwnck/private.h @@ -25,6 +25,7 @@ #include "screen.h" #include "window.h" #include "workspace.h" +#include "application.h" #include "xutils.h" G_BEGIN_DECLS @@ -35,13 +36,23 @@ void _wnck_window_process_property_notify (WnckWindow *window, void _wnck_screen_process_property_notify (WnckScreen *screen, XEvent *xevent); -WnckWindow* _wnck_window_create (Window xwindow); - +WnckWindow* _wnck_window_create (Window xwindow, + WnckScreen *screen); void _wnck_window_destroy (WnckWindow *window); WnckWorkspace* _wnck_workspace_create (int number); void _wnck_workspace_destroy (WnckWorkspace *space); +void _wnck_window_set_application (WnckWindow *window, + WnckApplication *app); +void _wnck_application_add_window (WnckApplication *app, + WnckWindow *window); +void _wnck_application_remove_window (WnckApplication *app, + WnckWindow *window); + +WnckApplication* _wnck_application_create (Window xwindow, + WnckScreen *screen); +void _wnck_application_destroy (WnckApplication *app); G_END_DECLS |