Re: [PATCH 1/8] New file misc.h

2013-04-14 Thread Rodolfo García Peñas
On Sun, 14 Apr 2013, Rodolfo kix Garcia escribió: > From: "Rodolfo García Peñas (kix)" > If all is fine, I will continue with the XRandR support. Saludos, kix -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Re: [PATCH 8/8] Set position for all Dock types

2013-04-14 Thread Rodolfo García Peñas
On Sun, 14 Apr 2013, Rodolfo kix Garcia escribió: > From: "Rodolfo García Peñas (kix)" > > This patch set the icon position for the WDock using the icon image, > because this method is used by the Clip and the Dock. > Hi, Drawer is not included. Please, Daniel, if you can try to join the draw

[PATCH 8/8] Set position for all Dock types

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" This patch set the icon position for the WDock using the icon image, because this method is used by the Clip and the Dock. Now, when the WAppIcon image is created, the final position is set: -8< @ -750,6 +751,9 @@ static WAppIcon *m

[PATCH 7/8] New function set_appicon_positioh_from_dictionary

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" This function reads the final position for a WAppIcon, and set it for the WAppIcon argument. The code of this function cames from the functions wClipRestoreState and wDockRestoreState (C&P). In this patch, this function is not used. --- src/dock.c | 33 +

[PATCH 6/8] Create clip only if needed

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" The function wWorkspaceRestoreState() creates two Clips: 1. First, calling wWorkspaceNew(), because this function creates a new Workspace, with the Clip included. 2. Second, calling wDockRestoreState(), because this function creates a new Clip and recover

[PATCH 5/8] Make clip_icon variable more private

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" The functions that works with the Clip WAppIcon should call the right icon, not always the clip_icon variable in the screen.h file. Every Clip has a different WAppIcon (pointed to the same clip_icon), stored in icon_array[0], but the functions working with the

[PATCH 3/8] Add the application to the wapp_list

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" The screen has a list of applications: 8< kix@debian:~/src/wmaker/wmaker-crm/src$ grep wapp_list screen.h struct WApplication *wapp_list;/* list of all aplications */ kix@debian:~/src/wmaker/wmaker-crm/src$ --

[PATCH 4/8] Split dock menu creation

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" The function dockMenuCreate is splitted in four functions: - create_clip_main_menu(WScreen*) - create_dock_main_menu(WScreen*) - create_drawer_main_menu(WScreen*) - dockMenuCreate(WScreen*, int*) The function create_clip_main_menu() creates the menu and the me

[PATCH 2/8] icon_update_pixmap default moved to bottom

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" The default case is moved to the bottom of the switch case. The default case should be removed, because the icon has always a right value, because the icon creation always uses a real value: kix@debian:~/src/wmaker/wmaker-crm/src$ grep wAppIconCreateForDock *c

[PATCH 1/8] New file misc.h

2013-04-14 Thread kix
From: "Rodolfo García Peñas (kix)" This is the new file misc.h, with the function prototypes for misc.c. This file is created using misc.c and removing the prototypes from funcs.h --- src/actions.c |1 + src/appicon.c |1 + src/client.c |1 + src/defaults.c|1 +