Re: Clips and Dock
Hi Daniel, thanks a lot for your comments. I will review my local repo and will change some things. Cheers, kix Daniel Déchelotte yo@free.fr escribió: Hi kix, When you have two monitors, you basically have two options. The most popular one nowadays is to merge the two screens into a wide one with xrandr (earlier it was with Xinerama, or TwinView, or BigDesktop, or whatnot). Then you really have one screen (in X.org sense), which is quite possibly not rectangular. WM manages that single screen and displays a single dock, at the left of the leftmost head (monitor) or at the right of the rightmost one. The other option is to keep the two screens separate. As I understand, windows can't extend from one screen to another, they can't be moved across screens. There is a single X server, the user logs in once and he gets two screens, but those are totally independent from each other. A single instance of WM manages both, and each has its own dock. I've never run that setup; in fact, I wouldn't even know how to force X to keep the two screens separate to test my changes in that condition. But I think that explains the multiple screen code in WM. HTH, -- Daniel PS: the excerpt below is from startup.c ;-) - Mail original - Hi, only one stu^H^H^H simple question. There are one Clip per Workspace, but... How many Docks are in wmaker? One? Is the same for all workspaces? Probably seems an s^H simple question, but I am working on workspaces these days and yesterday I had this question. See this: screen.c: 722 if (!wPreferences.flags.nodock wScreen[j]-dock) 723 wScreen[j]-last_dock = wScreen[j]-dock; This code show that there are one Dock per Screen. IMO, it makes no sense. I have code here with only one Dock. I am testing. Cheers. kix -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org. Rodolfo García Peñas (kix) http://www.kix.es/ -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.
Re: Clips and Dock
Hi kix, When you have two monitors, you basically have two options. The most popular one nowadays is to merge the two screens into a wide one with xrandr (earlier it was with Xinerama, or TwinView, or BigDesktop, or whatnot). Then you really have one screen (in X.org sense), which is quite possibly not rectangular. WM manages that single screen and displays a single dock, at the left of the leftmost head (monitor) or at the right of the rightmost one. The other option is to keep the two screens separate. As I understand, windows can't extend from one screen to another, they can't be moved across screens. There is a single X server, the user logs in once and he gets two screens, but those are totally independent from each other. A single instance of WM manages both, and each has its own dock. I've never run that setup; in fact, I wouldn't even know how to force X to keep the two screens separate to test my changes in that condition. But I think that explains the multiple screen code in WM. HTH, -- Daniel PS: the excerpt below is from startup.c ;-) - Mail original - Hi, only one stu^H^H^H simple question. There are one Clip per Workspace, but... How many Docks are in wmaker? One? Is the same for all workspaces? Probably seems an s^H simple question, but I am working on workspaces these days and yesterday I had this question. See this: screen.c: 722 if (!wPreferences.flags.nodock wScreen[j]-dock) 723 wScreen[j]-last_dock = wScreen[j]-dock; This code show that there are one Dock per Screen. IMO, it makes no sense. I have code here with only one Dock. I am testing. Cheers. kix -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.
Clips and Dock
Hi, only one stu^H^H^H simple question. There are one Clip per Workspace, but... How many Docks are in wmaker? One? Is the same for all workspaces? Probably seems an s^H simple question, but I am working on workspaces these days and yesterday I had this question. See this: screen.c: 722 if (!wPreferences.flags.nodock wScreen[j]-dock) 723 wScreen[j]-last_dock = wScreen[j]-dock; This code show that there are one Dock per Screen. IMO, it makes no sense. I have code here with only one Dock. I am testing. Cheers. kix