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:
committed by
Carlos R. Mafra
parent
3e83e9d5ae
commit
19326554cc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user