cdown / dwm Goto Github PK
View Code? Open in Web Editor NEWDynamic window manager for X (with extensive customisation)
License: MIT License
Dynamic window manager for X (with extensive customisation)
License: MIT License
Currently, when changing tags, the focus might not be in the window under the mouse until you move it.
This doesn't warp any more, but the focus still shifts.
Either fix it, or maybe just use normal push?
Looks like the latest patch removes this anyway.
This requires adjusting resize() calls, and maybe also forcing focus() to go on top.
Right now focus/unfocus border highlighting isn't smooth because we have a real delay between unfocus() and focus().
A good idea might be to only schedule removing the border on unfocus(), and really do it on changelover in focus(). Maybe the order should also be to paint the new border and only then unpaint the old one.
Weirdly, while XF86XK_AudioPause works, XF86XK_AudioPlay doesn't. xev
sees it though:
KeyPress event, serial 28, synthetic NO, window 0x1800001,
root 0x198, subw 0x0, time 532681, (479,269), root:(1440,270),
state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 172
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x1800001,
root 0x198, subw 0x0, time 532690, (479,269), root:(1440,270),
state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
XKeysymToKeycode returns keycode: 172
XLookupString gives 0 bytes:
XFilterEvent returns: False
dwm however only sees XF86XK_AudioPause events:
got keycode XF86AudioPause (269025073)
got keycode XF86AudioPause (269025073)
arg->v: /bin/sh
An idea that could improve selfrestart/etc. Store the current c->tags in an X atom, and read it back out when clients get managed.
I wonder if this is some isurgent check
dwm % xprop
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER
WM_HINTS(WM_HINTS):
Client accepts input or input focus: False
Initial state is Normal State.
window id # of group leader: 0x2600001
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 39845962
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NOTIFICATION
_NET_WM_USER_TIME(CARDINAL) = 117237881
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x2600049
WM_CLIENT_LEADER(WINDOW): window id # 0x2600001
_NET_WM_PID(CARDINAL) = 16352
WM_LOCALE_NAME(STRING) = "en_GB.UTF-8"
WM_CLIENT_MACHINE(STRING) = "jia"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified location: 0, 0
program specified minimum size: 141 by 52
program specified maximum size: 141 by 52
window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xfce4-notifyd", "Xfce4-notifyd"
WM_ICON_NAME(STRING) = "xfce4-notifyd"
_NET_WM_ICON_NAME(UTF8_STRING) = "xfce4-notifyd"
WM_NAME(STRING) = "xfce4-notifyd"
_NET_WM_NAME(UTF8_STRING) = "xfce4-notifyd"
Mail and irc windows are now separated, might be nice (for example) to have one "chat" tag that muxes everything. Then we can separate hangouts but have one where everything is visible at once, too.
for example, do mod+ctrl+{b,g,t} -- sometimes it won't apply. Probably a bug in setlayout
Probably something to do with the warp changes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.