diff options
author | sabetts <sabetts> | 2006-03-16 01:41:13 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-03-16 01:41:13 +0000 |
commit | 4e1d3ffcec845b5618f6ac8a2b2c8ad40dadbceb (patch) | |
tree | 3bfca1227c7e1017504c1b4ac6f13832c1600764 /src/screen.h | |
parent | 2af887d39f6cba4cbbcaac8b51ffa773be809f23 (diff) | |
download | ratpoison-4e1d3ffcec845b5618f6ac8a2b2c8ad40dadbceb.zip |
2006-03-15 Bernhard R. Link <brlink@debian.org>
* src/screen.c (screen_update): new function
(init_screen): listen for screen resizes
* src/screen.h: new prototype
* src/events.c (configure_notify): new function
(delegate_event): call configure_notify for ConfigureNotify events
* src/frame.c (frame_dump): remember the size of the screen the
frame coordinates are relative to.
(frame_restore): adopt coordinates to possible screen resizes.
* src/frame.h (frame_fump): take a screen argument
(frame_read): likewise
* src/actions.c (cmd_tmpwm): listen for screen resizes again
(fdump, frestore, cmd_fdump): supply screen to frame_dump, frameread
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h index 92f351b..d83ba4b 100644 --- a/src/screen.h +++ b/src/screen.h @@ -42,4 +42,5 @@ int is_a_root_window (unsigned int w); char *screen_dump (rp_screen *screen); +void screen_update (rp_screen *s, int width, int height); #endif |