diff --git a/dwm.c b/dwm.c
index 7a203de..a4dd931 100644
--- a/dwm.c
+++ b/dwm.c
@@ -61,7 +61,7 @@ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
enum { ColBorder, ColFG, ColBG, ColLast }; /* color */
enum { NetSupported, NetWMName, NetWMState,
NetWMFullscreen, NetActiveWindow, NetWMWindowType,
- NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
+ NetWMWindowTypeDialog, NetWMWindowTypeSplash, NetClientList, NetLast }; /* EWMH atoms */
enum { WMProtocols, WMDelete, WMState, WMTakeFocus, WMLast }; /* default atoms */
enum { ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle,
ClkClientWin, ClkRootWin, ClkLast }; /* clicks */
@@ -1705,6 +1705,7 @@ setup(void) {
netatom[NetWMFullscreen] = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False);
netatom[NetWMWindowType] = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", False);
netatom[NetWMWindowTypeDialog] = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DIALOG", False);
+ netatom[NetWMWindowTypeSplash] = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_SPLASH", False);
netatom[NetClientList] = XInternAtom(dpy, "_NET_CLIENT_LIST", False);
/* init cursors */
cursor[CurNormal] = XCreateFontCursor(dpy, XC_left_ptr);
@@ -2161,7 +2162,7 @@ updatewindowtype(Client *c) {
Atom state = getatomprop(c, netatom[NetWMState]);
Atom wtype = getatomprop(c, netatom[NetWMWindowType]);
- if(state == netatom[NetWMFullscreen])
+ if(state == netatom[NetWMFullscreen] || wtype == netatom[NetWMWindowTypeSplash])
setfullscreen(c, True);
if(wtype == netatom[NetWMWindowTypeDialog])
c->isfloating = True;
you can also see it on my dwm github:
https://github.com/adamcdunlap/dwm
Thanks, Adam
]]>Output from telescope:
[Opt] 'background.color' = '#000000'
Background color: #000000
[Opt] 'hotkey' = 'F5'
[Opt] 'show.desktop.thumbnail' = 'off'
[Opt] 'show.desktop.iconify' = 'off'
Loading background from ''
Background mode: 0
Cannot load background
rgb = (0, 0, 0)
/home/XYZ/AUR/telescope/PKGBUILD: Line 19: cd: /home/XYZ/AUR/telescope/src/telescope: no such file or directory
]]>You can use dbus instead:
dbus-send --print-reply --dest=org.telescope /Telescope org.telescope.Telescope.Show
hotkey = Menu
background.filename = ~/Images/Wallpapers/arch_wall_new.png
background.mode = stretched
text.font.size = 10
There are other options, as noted on the first post
BTW, I've been using it with a hot corners script I found here and it works pretty, pretty well - both in DWM and Fluxbox, which are the only two I ever use.
]]>As for the error in compiling Telescope, avx, just make sure all dependencies are met, may need some trial and error as deps and packages tend to be named differently from distro to distro. I distinctly remember compiling in Debian, then again Maemo was deb-based, too.
]]>as an old n900 user which loved my device i really like it alot , its great!
i was wondering if one coul use keystorkes to quick jump to clients (IE press F and if firefox is the only one starting with f it would autoselect it and switch etc..)
thx alot
Its super great!
Z.
]]>make
g++ -c -Wall -Werror -O2 -DMAEMO4 -DDBUS -DLAUNCHER `pkg-config --cflags x11 xcomposite xdamage xrender imlib2 xft dbus-1 glib-2.0` -pthread XEventLoop.cpp -o XEventLoop.o
XEventLoop.cpp: In member function ‘void XEventLoop::eventLoop()’:
XEventLoop.cpp:90:34: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
XEventLoop.cpp:90:59: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
XEventLoop.cpp:99:21: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
XEventLoop.cpp:99:21: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
XEventLoop.cpp:99:21: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
XEventLoop.cpp:99:21: error: ‘int dbus_watch_get_fd(DBusWatch*)’ is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:451) [-Werror=deprecated-declarations]
cc1plus: all warnings being treated as errors
make: *** [XEventLoop.o] Error 1
(not an Arch system, but maybe someone can help).
Applying the Makefile.patch from the AUR-tarball works, but then only gives
make
Makefile:83: depend: No such file or directory
g++ -M -MM -MG -MP -Wall -Werror -Wno-error=narrowing -O2 -DDESKTOP -DDBUS `pkg-config --cflags x11 xcomposite xdamage xrender imlib2 xft dbus-1 glib-2.0` -pthread TeleWindow.cpp Main.cpp XTools.cpp Thumbnail.cpp Settings.cpp Mapping.cpp Mappings.cpp Resources.cpp DBus.cpp XEventLoop.cpp Image.cpp >depend
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
cc1plus: error: -Werror=narrowing: no option -Wnarrowing
make: *** [depend] Error 1
Somehow complaining about ./depend
]]>