Re: [dev] Fullscreen troubles.
On 9 March 2010 12:07, David DEMELIER demelier.da...@gmail.com wrote: No it's not a SDL problem because some are not SDL based apps, and it does this problem only with dwm. If some apps aren't SDL, then we have another foundation that can't deal with non-reparenting WMs... It's really a pity that some toolkits bother about specific window models. But clearly assuming a reparenting WM is violating the ICCCM and hence makes such foundations broken. Cheers, Anselm
Re: [Fwd: Re: [Fwd: window system (Re: [dev] GSoC 2010)]]
I' On 3/6/10, Noah Birnel nbir...@gmail.com wrote: On Fri, Mar 05, 2010 at 02:59:17PM +, Nick wrote: On Fri, Mar 05, 2010 at 06:46:37AM -0800, Noah Birnel wrote: On Fri, Mar 05, 2010 at 01:18:51PM +0100, pancake wrote: http://code.google.com/p/equanime Not Found The requested URL /p/equanim/ was not found on this server. Typo? Or is it gone? On your part. Note the final 'e'. Oops. -- kv, - Bjartur
Re: [dev] wmii build fails in cygwin
On 9 March 2010 13:26, ma...@koski-vahala.com wrote: Hello! That fixed that problem. Next error I get is this LD cmd/wmiir.out /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make[1]: *** [wmiir.out] Error 1 make: *** [dall] Error 2 Check where libgcc_s.a is on your system and add the directory to your LDFLAGS prefixing with -L, eg -L/path/to/the/dir/that/contains/libgcc_s.a/ Cheers, Anselm BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 12:42, wrote: Hello! I'm trying to build wmii+ixp-3.9b1 in cygwin. However it fails with below error. MAKE all cmd/menu/ CC cmd/menu/main.o cmd/menu/main.c:249: error: ‘strncasecmp’ undeclared make[2]: *** [main.o] Error 1 make[1]: *** [dall] Error 2 make: *** [dall] Error 2 Anybody know how I can fix this? The quick fix would be use strncmp instead. Cheers, Anselm
Re: [dev] Fullscreen troubles.
No it's not a SDL problem because some are not SDL based apps, and it does this problem only with dwm. Best regards. 2010/3/9 Jakub Lach jakub_l...@mailplus.pl: Hi, I use dwm for longtime now, it's the only one tiling wm which does everything by almost default. Like manage fixed sixe windows (zsnes, games,..) perfectly and has a full xinerama support whereas ratpoison does not have free layout or the possibility to manage free windows, same for i3, it does not support everything well. I was used to mplayer for watching some videos, and fullscreen mode works pretty well. But the last time I wanted to start zsnes, foobillard as fullscreen it just does not anything. Your screen is resized and you can see the bar with the window getting mangled. Try that with zsnes, foobillard and maybe wesnoth ? (not tested the last). It's apparently SDL problem which I reported earlier. http://forums.libsdl.org/viewtopic.php?t=6013 Still no reply form SDL devs. best regards, -Jakub Lach
Re: [dev] wmii build fails in cygwin
Hello! I don't have a file with that name but I have one called libgcc_s.dll.a. So the question is if I should rename that file or if it is possible to change the code to search for libgcc_s*.a BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 13:26, ma...@koski-vahala.com wrote: Hello! That fixed that problem. Next error I get is this LD cmd/wmiir.out /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make[1]: *** [wmiir.out] Error 1 make: *** [dall] Error 2 Check where libgcc_s.a is on your system and add the directory to your LDFLAGS prefixing with -L, eg -L/path/to/the/dir/that/contains/libgcc_s.a/ Cheers, Anselm BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 12:42, wrote: Hello! I'm trying to build wmii+ixp-3.9b1 in cygwin. However it fails with below error. MAKE all cmd/menu/ CC cmd/menu/main.o cmd/menu/main.c:249: error: ‘strncasecmp’ undeclared make[2]: *** [main.o] Error 1 make[1]: *** [dall] Error 2 make: *** [dall] Error 2 Anybody know how I can fix this? The quick fix would be use strncmp instead. Cheers, Anselm
Re: [dev] wmii build fails in cygwin
Hello! My config.mk looks like this PREFIX = /usr BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man DOC = $(PREFIX)/share/doc/wmii ETC = $(PREFIX)/etc LIBDIR = /lib INCLUDE = $(PREFIX)/include I have a directory /usr/include/X11 and there I have all the following files required by x11.h #include X11/Xlib.h #include X11/Xutil.h #include X11/Xatom.h Any other file I need to look for? BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 13:45, ma...@koski-vahala.com wrote: Hello! I'll answer myself. I created a symlink to solve it but now I get the next problem MAKE all libwmii_hack/ CC libwmii_hack/hack.o_pic libwmii_hack/hack.c:1: warning: -fPIC ignored for target (all code is position i ndependent) In file included from libwmii_hack/hack.c:14: libwmii_hack/util.c:15: warning: array subscript has type ‘char’ libwmii_hack/util.c:20: warning: array subscript has type ‘char’ libwmii_hack/hack.c:50: warning: implicit declaration of function ‘unsetenv’ LD lib/libwmii_hack.so /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:17: undefined reference to `_XInternAtom' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:29: undefined reference to `_XChangePrope rty' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:90: undefined reference to `_XGetWindowPr operty' /tmp/wmii+ixp-3.9b1/libwmii_hack/hack.c:68: undefined reference to `_XInternAtom s' collect2: ld returned 1 exit status make[1]: *** [../lib/libwmii_hack.so] Error 1 make: *** [dall] Error 2 Looks to me you need to install X libs and X header files in cygwin... something is missing. Cheers, Anselm
Re: [dev] wmii build fails in cygwin
Hello! That fixed that problem. Next error I get is this LD cmd/wmiir.out /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make[1]: *** [wmiir.out] Error 1 make: *** [dall] Error 2 BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 12:42, wrote: Hello! I'm trying to build wmii+ixp-3.9b1 in cygwin. However it fails with below error. MAKE all cmd/menu/ CC cmd/menu/main.o cmd/menu/main.c:249: error: âeuro;˜strncasecmpâeuro;™ undeclared make[2]: *** [main.o] Error 1 make[1]: *** [dall] Error 2 make: *** [dall] Error 2 Anybody know how I can fix this? The quick fix would be use strncmp instead. Cheers, Anselm
Re: [dev] wmii build fails in cygwin
On 9 March 2010 13:45, ma...@koski-vahala.com wrote: Hello! I'll answer myself. I created a symlink to solve it but now I get the next problem MAKE all libwmii_hack/ CC libwmii_hack/hack.o_pic libwmii_hack/hack.c:1: warning: -fPIC ignored for target (all code is position i ndependent) In file included from libwmii_hack/hack.c:14: libwmii_hack/util.c:15: warning: array subscript has type ‘char’ libwmii_hack/util.c:20: warning: array subscript has type ‘char’ libwmii_hack/hack.c:50: warning: implicit declaration of function ‘unsetenv’ LD lib/libwmii_hack.so /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:17: undefined reference to `_XInternAtom' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:29: undefined reference to `_XChangePrope rty' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:90: undefined reference to `_XGetWindowPr operty' /tmp/wmii+ixp-3.9b1/libwmii_hack/hack.c:68: undefined reference to `_XInternAtom s' collect2: ld returned 1 exit status make[1]: *** [../lib/libwmii_hack.so] Error 1 make: *** [dall] Error 2 Looks to me you need to install X libs and X header files in cygwin... something is missing. Cheers, Anselm
Re: [dev] wmii build fails in cygwin
Hello! I'll answer myself. I created a symlink to solve it but now I get the next problem MAKE all libwmii_hack/ CC libwmii_hack/hack.o_pic libwmii_hack/hack.c:1: warning: -fPIC ignored for target (all code is position i ndependent) In file included from libwmii_hack/hack.c:14: libwmii_hack/util.c:15: warning: array subscript has type ‘char’ libwmii_hack/util.c:20: warning: array subscript has type ‘char’ libwmii_hack/hack.c:50: warning: implicit declaration of function ‘unsetenv’ LD lib/libwmii_hack.so /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:17: undefined reference to `_XInternAtom' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:29: undefined reference to `_XChangePrope rty' /tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:90: undefined reference to `_XGetWindowPr operty' /tmp/wmii+ixp-3.9b1/libwmii_hack/hack.c:68: undefined reference to `_XInternAtom s' collect2: ld returned 1 exit status make[1]: *** [../lib/libwmii_hack.so] Error 1 make: *** [dall] Error 2 BR Marko 2010-03-09 ma...@koski-vahala.com wrote: Hello! I don't have a file with that name but I have one called libgcc_s.dll.a. So the question is if I should rename that file or if it is possible to change the code to search for libgcc_s*.a BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 13:26, ma...@koski-vahala.com wrote: Hello! That fixed that problem. Next error I get is this LD cmd/wmiir.out /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make[1]: *** [wmiir.out] Error 1 make: *** [dall] Error 2 Check where libgcc_s.a is on your system and add the directory to your LDFLAGS prefixing with -L, eg -L/path/to/the/dir/that/contains/libgcc_s.a/ Cheers, Anselm BR Marko 2010-03-09 Anselm R Garbe wrote: On 9 March 2010 12:42, wrote: Hello! I'm trying to build wmii+ixp-3.9b1 in cygwin. However it fails with below error. MAKE all cmd/menu/ CC cmd/menu/main.o cmd/menu/main.c:249: error: ‘strncasecmp’ undeclared make[2]: *** [main.o] Error 1 make[1]: *** [dall] Error 2 make: *** [dall] Error 2 Anybody know how I can fix this? The quick fix would be use strncmp instead. Cheers, Anselm
Re: [dev] Fullscreen troubles.
Hi, I use dwm for longtime now, it's the only one tiling wm which does everything by almost default. Like manage fixed sixe windows (zsnes, games,..) perfectly and has a full xinerama support whereas ratpoison does not have free layout or the possibility to manage free windows, same for i3, it does not support everything well. I was used to mplayer for watching some videos, and fullscreen mode works pretty well. But the last time I wanted to start zsnes, foobillard as fullscreen it just does not anything. Your screen is resized and you can see the bar with the window getting mangled. Try that with zsnes, foobillard and maybe wesnoth ? (not tested the last). It's apparently SDL problem which I reported earlier. http://forums.libsdl.org/viewtopic.php?t=6013 Still no reply form SDL devs. best regards, -Jakub Lach
Re: [dev] wmii build fails in cygwin
Hello! I don't have libXlib.a but I have libX11.a which according to my understanding should be the same. libX11, aka Xlib, is the core library of the X11 protocol. So how can I get around this problem? BR Marko * Anselm R Garbe ans...@garbe.us [100309 16:21]: On 9 March 2010 14:32, ma...@koski-vahala.com wrote: Hello! My config.mk looks like this PREFIX = /usr BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man DOC = $(PREFIX)/share/doc/wmii ETC = $(PREFIX)/etc LIBDIR = /lib INCLUDE = $(PREFIX)/include I have a directory /usr/include/X11 and there I have all the following files required by x11.h #include X11/Xlib.h #include X11/Xutil.h #include X11/Xatom.h Any other file I need to look for? Do you also have /usr/lib/libXlib.a and such? Cheers, Anselm pgpkhty3gVhKX.pgp Description: PGP signature
Re: [dev] wmii build fails in cygwin
Change LDFLAGS to -lX11instead of -lXlib if that isn't the case. 2010/3/9 Marko Koski-Vähälä ma...@koski-vahala.com: Hello! I don't have libXlib.a but I have libX11.a which according to my understanding should be the same. libX11, aka Xlib, is the core library of the X11 protocol. So how can I get around this problem? BR Marko * Anselm R Garbe ans...@garbe.us [100309 16:21]: On 9 March 2010 14:32, ma...@koski-vahala.com wrote: Hello! My config.mk looks like this PREFIX = /usr BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man DOC = $(PREFIX)/share/doc/wmii ETC = $(PREFIX)/etc LIBDIR = /lib INCLUDE = $(PREFIX)/include I have a directory /usr/include/X11 and there I have all the following files required by x11.h #include X11/Xlib.h #include X11/Xutil.h #include X11/Xatom.h Any other file I need to look for? Do you also have /usr/lib/libXlib.a and such? Cheers, Anselm
Re: [dev] wmii build fails in cygwin
Hello! Thanks for the help. I was able to build it now. Mod4 doesn't seem to work in Cygwin. Mod1 works. When I start wmii and open two terminals I get them in stack mode. Is it possible to get them default in Default mode? I can't remember that it was like this in wmii 3.6 in opensuse. BR Marko 2010-03-09 Anselm R Garbe wrote: Change LDFLAGS to -lX11instead of -lXlib if that isn't the case. 2010/3/9 Marko Koski-Vähälä ma...@koski-vahala.com: Hello! I don't have libXlib.a but I have libX11.a which according to my understanding should be the same. libX11, aka Xlib, is the core library of the X11 protocol. So how can I get around this problem? BR Marko * Anselm R Garbe ans...@garbe.us [100309 16:21]: On 9 March 2010 14:32, ma...@koski-vahala.com wrote: Hello! My config.mk looks like this PREFIX = /usr BIN = $(PREFIX)/bin MAN = $(PREFIX)/share/man DOC = $(PREFIX)/share/doc/wmii ETC = $(PREFIX)/etc LIBDIR = /lib INCLUDE = $(PREFIX)/include I have a directory /usr/include/X11 and there I have all the following files required by x11.h #include X11/Xlib.h #include X11/Xutil.h #include X11/Xatom.h Any other file I need to look for? Do you also have /usr/lib/libXlib.a and such? Cheers, Anselm
Re: [dev] wmii build fails in cygwin
On 2010-03-09, ma...@koski-vahala.com ma...@koski-vahala.com wrote: Hello! Thanks for the help. I was able to build it now. Mod4 doesn't seem to work in Cygwin. Mod1 works. You'll have to play around with xmodmap. I don't recommend the cygwin X server, though. Try Xming instead. When I start wmii and open two terminals I get them in stack mode. Is it possible to get them default in Default mode? I can't remember that it was like this in wmii 3.6 in opensuse. wmiir xwrite /ctl colmode default-max