mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
wmaker: code style
This patch removes some extra curly brackets, some empty lines, extra spaces, ... to follow wmaker's coding style
This commit is contained in:
committed by
Carlos R. Mafra
parent
29ccfbbf20
commit
4ac65ab260
@@ -819,15 +819,12 @@ void wScreenRestoreState(WScreen * scr)
|
||||
wfree(path);
|
||||
}
|
||||
|
||||
if (!scr->session_state) {
|
||||
if (!scr->session_state)
|
||||
scr->session_state = WMCreatePLDictionary(NULL, NULL);
|
||||
}
|
||||
|
||||
if (!wPreferences.flags.nodock) {
|
||||
state = WMGetFromPLDictionary(scr->session_state, dDock);
|
||||
scr->dock = wDockRestoreState(scr, state, WM_DOCK);
|
||||
/* If clip_merged_in_dock, setting scr->clip_icon is done by
|
||||
* wDockRestoreState()->wDockCreate()->mainIconCreate() */
|
||||
}
|
||||
|
||||
if (!wPreferences.flags.noclip) {
|
||||
@@ -835,12 +832,10 @@ void wScreenRestoreState(WScreen * scr)
|
||||
scr->clip_icon = wClipRestoreState(scr, state);
|
||||
}
|
||||
|
||||
if (!wPreferences.flags.nodrawer) {
|
||||
if (!wPreferences.flags.nodrawer)
|
||||
wDrawersRestoreState(scr);
|
||||
}
|
||||
|
||||
wWorkspaceRestoreState(scr);
|
||||
|
||||
wScreenUpdateUsableArea(scr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user