1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Make get_wwindow_image_from_x11() take Window as argument

The function get_wwindow_image_from_x11() is renamed to get_window_image_from_x11()
and does the same work, but now its argument is a Window struct instead of a
WWindow.

This change is better because it allows objects with Windows (but without
WWindows) to call this function.

The function now is not static to allow its use in other parts of the code.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-03 19:54:00 +01:00
committed by Carlos R. Mafra
parent 3e83e9d5ae
commit 19326554cc
2 changed files with 4 additions and 3 deletions

View File

@@ -45,4 +45,5 @@ char *wNETWMGetIconName(Window window);
char *wNETWMGetWindowName(Window window);
void wNETFrameExtents(WWindow *wwin);
void wNETCleanupFrameExtents(WWindow *wwin);
RImage *get_window_image_from_x11(Window window);
#endif