summaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-10-05 03:07:22 +0000
committersabetts <sabetts>2004-10-05 03:07:22 +0000
commitad1da50e94819e8e79da1fc0246f247bfdbc99a9 (patch)
tree991682c6b11919bb5fd29eee85631bd95c1aa459 /src/screen.h
parent442b8d1ae2f4419ca2e2e4d76ad06ae38d18d1c7 (diff)
downloadratpoison-ad1da50e94819e8e79da1fc0246f247bfdbc99a9.zip
* src/screen.h (is_a_root_window): new prototype
* src/screen.c (is_a_root_window): new function * src/events.c (property_notify): check for ratpoison commands on every root window, not just the default root window. * src/communications.c (send_command): store the root window in a variable, root. and use it whenever the root window is needed.
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h
index d009f5d..fdc37af 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -37,6 +37,6 @@ rp_frame *screen_get_frame (rp_screen *s, int frame_num);
void init_screens (int screen_arg, int screen_num);
int is_rp_window_for_screen (Window w, rp_screen *s);
-
+int is_a_root_window (int w);
#endif