mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
wmaker: moved the code for the bg helper to a dedicated function
In order to make code easier to maintain, the code related to creating the Helper process (which helps by setting the background of the workspace) is moved to a dedicated function, which have been moved to the same location as the function for communicating with the helper. Took opportunity to de-CamelCase the related names. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
38d160cb8c
commit
e16c6fbf2a
@@ -33,6 +33,9 @@ void move_window(Window win, int from_x, int from_y, int to_x, int to_y);
|
||||
void SlideWindow(Window win, int from_x, int from_y, int to_x, int to_y);
|
||||
void SlideWindows(Window *wins[], int n, int from_x, int from_y, int to_x, int to_y);
|
||||
void ParseWindowName(WMPropList *value, char **winstance, char **wclass, const char *where);
|
||||
|
||||
/* Helper is a 'wmsetbg' subprocess with sets the background for the current workspace */
|
||||
Bool start_bg_helper(WScreen *scr);
|
||||
void SendHelperMessage(WScreen *scr, char type, int workspace, const char *msg);
|
||||
|
||||
char *ShrinkString(WMFont *font, const char *string, int width);
|
||||
|
||||
Reference in New Issue
Block a user