Hiltjo Posthuma
d39e2f3441
bump version to 6.3
2022-01-07 12:39:18 +01:00
Chris Down and Hiltjo Posthuma
8657affa2a
drawbar: Don't expend effort drawing bar if it is occluded
...
I noticed that a non-trivial amount of dwm's work on my machine was from
drw_text, which seemed weird, because I have the bar disabled and we
only use drw_text as part of bar drawing.
Looking more closely, I realised that while we use m->showbar when
updating the monitor bar margins, but don't skip actually drawing the
bar if it is hidden. This patch skips drawing it entirely if that is the
case.
On my machine, this takes 10% of dwm's on-CPU time, primarily from
restack() and focus().
When the bar is toggled on again, the X server will generate an Expose
event, and we'll redraw the bar as normal as part of expose().
2021-12-19 16:16:30 +01:00
Hiltjo Posthuma
a786211d6c
Revert "Improve speed of drw_text when provided with large strings"
...
This reverts commit 716233534b .
It causes issues with truncation of characters when the text does not fit and
so on. The patch should be reworked and properly tested.
2021-08-20 23:09:48 +02:00
Miles Alan and Hiltjo Posthuma
716233534b
Improve speed of drw_text when provided with large strings
...
Calculates len & ew in drw_font_getexts loop by incrementing instead of
decrementing; as such avoids proportional increase in time spent in loop
based on provided strings size.
2021-08-09 18:25:19 +02:00
Quentin Rameau and Hiltjo Posthuma
138b405f0c
Add a configuration option for fullscreen locking
...
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
2021-07-14 11:26:37 +02:00
Chris Down and Hiltjo Posthuma
67d76bdc68
Do not allow focus to drift from fullscreen client via focusstack()
...
It generally doesn't make much sense to allow focusstack() to navigate
away from the selected fullscreen client, as you can't even see which
client you're selecting behind it.
I have had this up for a while on the wiki as a separate patch[0], but
it seems reasonable to avoid this behaviour in dwm mainline, since I'm
struggling to think of any reason to navigate away from a fullscreen
client other than a mistake.
0: https://dwm.suckless.org/patches/alwaysfullscreen/
2021-03-29 19:16:27 +02:00
Ian Remmler and Hiltjo Posthuma
61bb8b2241
Fix x coordinate calculation in buttonpress.
2020-08-21 16:13:22 +02:00
Hiltjo Posthuma
bb2e7222ba
dwm.1: fix wrong text in man page
2020-07-08 18:05:50 +02:00
Alex Flierl and Hiltjo Posthuma
f04cac6d6e
Fix memory leaks in drw
...
The function drw_fontset_free in drw.c was never called.
2020-06-11 18:32:21 +02:00
bakkeby and Hiltjo Posthuma
f09418bbb6
dwm crashes when opening 50+ clients (tile layout)
...
Many users new to dwm find themselves caught out by being kicked out to the login manager (dwm crashing) when they open 50+ clients for demonstration purposes. The number of clients reported varies depending on the resolution of the monitor.
The cause of this is due to how the default tile layout calculates the height of the next client based on the position of the previous client. Because clients have a minimum size the (ty) position can exceed that of the window height, resulting in (m->wh - ty) becoming negative. The negative height stored as an unsigned int results in a very large height ultimately resulting in dwm crashing.
This patch adds safeguards to prevent the ty and my positions from exceeding that of the window height.
2020-04-25 13:31:02 +02:00
Chris Down and Hiltjo Posthuma
ed3ab6b4fc
drawbar: Don't shadow sw global
...
This jarred me a bit while reading the code, since "sw" usually refers
to the global screen geometry, but in drawbar() only it refers to
text-related geometry. Renaming it makes it more obvious that these are
not related.
2020-04-22 20:33:39 +02:00
Chris Down and Hiltjo Posthuma
f087d20e6e
getatomprop: Add forward declaration
...
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
2020-04-22 20:33:26 +02:00
Chris Down and Hiltjo Posthuma
a8e9513783
setmfact: Unify bounds for compile-time and runtime mfact
...
There are two places that mfact can be set:
- In the mfact global, which is defined at compile time and passed
into m->mfact during monitor setup. No bounds checks are performed,
but the comment alongside it says that valid values are [0.05..0.95]:
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
- By setmfact, which adjusts m->mfact at runtime. It also does some
minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside
of that range are ignored, and mfact is not adjusted.
These different thresholds mean that one cannot setmfact 0.95 or 0.05,
despite the comment above that lists the legal range for mfact.
Clarify this by enforcing the same bounds in setmfact at runtime as
those listed for mfact at compile time.
2020-04-20 17:56:41 +02:00
Hiltjo Posthuma
c82db690cc
config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
...
The feature test was incorrect:
_POSIX_C_SOURCE=2
"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html
FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297
This was already fixed in dmenu.
This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03 15:36:32 +02:00
Anselm R Garbe
cb3f58ad06
Prepare 6.2 release.
2019-02-02 04:50:42 -08:00
Hiltjo Posthuma
b69c870a30
pledge: add rpath promise for the ugly Xft font fallback
2018-06-02 17:15:42 +02:00
Hiltjo Posthuma
e78b4a9207
Makefile: just show the compiler output
...
Don't be fancy and just show the actual output so debugging is simpler.
2018-06-02 17:10:28 +02:00
Klemens Nanni and Hiltjo Posthuma
3cd4023fb3
Do not strip at link stage
...
Building with debug symbols is worthless unless LDFLAGS are manually
adjusted as well.
2018-06-02 16:56:10 +02:00
Klemens Nanni and Hiltjo Posthuma
f40f86fa87
Pledge on OpenBSD
2018-05-25 11:49:30 +02:00
Hiltjo Posthuma
c3a2e016bb
config.def.h: ClkTagBar missing from comment
...
by Christopher Drelich <cd@cdrakka.com >
Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
2018-05-25 06:56:36 +02:00
Christopher Drelich and Hiltjo Posthuma
c8e9479186
Function declarations in correct order.
...
In dwm.c function declarations are in alphabetical order except for
updategeom(). There doesn't appear to be any reason for this, so this
patch corrects that, and now all function declarations are in
alphabetical order.
2018-05-12 19:19:20 +02:00
Hiltjo Posthuma
10dfa65860
remove old TODO and BUGS entries
...
the bug in the dwm man page is an (ancient) Java issue.
Thanks David and quinq for the patches and feedback!
2018-05-12 19:14:19 +02:00
Hiltjo Posthuma
3bd8466e93
update README: remove mentioning the old dextra repo
...
Thanks Christopher Drelich <cd@cdrakka.com >
2018-03-14 21:03:11 +01:00
Christopher Drelich and Hiltjo Posthuma
76c8c16d79
All functions in alphabetical order except for this one.
2018-03-14 21:02:06 +01:00
Christopher Drelich and Hiltjo Posthuma
3cb34830eb
ColBorder has been moved to the enum with ColFg and ColBg.
2018-03-14 17:46:48 +01:00
Hiltjo Posthuma
db2236001c
dont NUL terminate _NET_WM_NAME
...
Reported by Kernc, thanks!
"This makes a particular program that uses libwnck [1] fail after:
Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8
in this code [2] because the returned string contains a '\0' and the
documentation for g_utf8_validate() [3] explicitly states that when
string length is provided, no nul bytes are allowed."
It is not entirely clear it is incorrect, other WM's seem to not
NUL terminate it either though.
2017-12-27 13:36:53 +01:00
Hiltjo Posthuma
3756f7f6b8
sync dmenu drw.{c,h} code: use Clr* (was Scm)
2017-11-03 21:20:48 +01:00
Hiltjo Posthuma
99f78fa553
gettextprop: check result of XGetTextProperty (undefined behaviour for XFree)
2017-11-03 21:14:58 +01:00
Omar Sandoval and Hiltjo Posthuma
a9b6a312a7
Set class name on status bar
...
This is useful for configuring compositors to ignore the status bar
window.
2017-11-03 20:40:34 +01:00
Daniel Cousens and Anselm R Garbe
6aa8e37efe
simplify isfixed conditions
2017-10-11 09:46:28 +02:00
Anselm R Garbe
ceac8c91ff
yet another cleanup
...
The previous patches introduced some unclean space-based indentation
patterns. This patch fixes them.
2017-05-08 21:08:27 +02:00
Markus Teich and Anselm R Garbe
5b238c8dab
Don't restrict snap in mousemove
...
This also fixes a bug where client windows only switch to floating mode when the
mouse is dragged in one specific direction.
2017-03-28 20:23:38 +02:00
Markus Teich and Anselm R Garbe
022d076054
Button passthrough when client is not focused
...
Before this change it is not possible to press a button in a client on the first
click if the client is not yet focused. The first click on the button would
only focus the client and a second click on the button is needed to activate it.
This situation can occur when moving the mouse over a client (therefore focusing
it) and then moving the focus to another client with keyboard shortcuts.
After this commit the behavior is fixed and button presses on unfocused clients
are passed to the client correctly.
2017-03-28 20:23:34 +02:00
Markus Teich and Anselm R Garbe
2952b68db8
cleanup
...
- unify multi-line expression alignment style.
- unify multi-line function call alignment style.
- simplify client moving on monitor count decrease.
- clarify comment for focusin().
- remove old confusing comment about input focus fix in focusmon(). The
explanation is already in the old commit message, so no need to keep it in the
code.
- remove old comment describing even older state of the code in focus().
- unify comment style.
- break up some long lines.
- fix some typos and grammar.
2017-03-28 20:23:28 +02:00
Anselm R Garbe
bb3bd6fec3
applied Markus' tagset purge of alternative view on _NET_ACTIVE_WINDOW event
2016-12-05 10:16:46 +01:00
Anselm R Garbe
e63bf22948
applied Ivan Delalande's NET_SUPPORTING_WM_CHECK patch for gtk3 compatibility
2016-12-05 10:09:49 +01:00
Anselm R Garbe
5376947571
applied Ian Remmler's man page adjustment suggestions
2016-12-05 10:05:00 +01:00
Anselm R Garbe
975c898376
applied Markus' decouple color-scheme patch
2016-12-05 10:01:33 +01:00
Anselm R Garbe
a137a86a23
applied Markus' clarify status text padding patch
2016-12-05 09:54:20 +01:00
Quentin Rameau and Hiltjo Posthuma
839c7f6939
LICENSE: update people
2016-11-15 17:35:33 +01:00
Quentin Rameau and Hiltjo Posthuma
7a59cd1457
dwm.1: add keybinding for spawning dmenu
2016-11-15 17:35:30 +01:00
Hiltjo Posthuma
24849acada
die() on calloc failure
...
thanks Markus Teich and David!
2016-11-05 11:34:52 +01:00
Hiltjo Posthuma
ab9571bbc5
die() consistency: always add newline
2016-08-12 14:36:35 +02:00
Hiltjo Posthuma
56a31dc4a7
config.def.h: style improvement, use color Scheme enum
2016-06-28 18:04:56 +02:00
Markus Teich and Hiltjo Posthuma
7af4d439bd
import new drw from libsl and minor fixes.
...
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
2016-06-26 13:52:36 +02:00
Eric Pruitt and Anselm R Garbe
cd2d7549b3
Configure geometry before applying rules
...
Configuring geometry before applying rules makes it possible to have
more complex constraints in applyrules that depend on the initial window
dimensions and location.
2016-06-24 05:38:58 +02:00
Hiltjo Posthuma
3465bed290
fix fullscreen clients not resized on X display resolution change
...
patch provided by Bert Münnich <ber.t_AT_posteo.de>, thanks!
2015-12-19 20:25:26 +01:00
Quentin Rameau and Hiltjo Posthuma
4ec3a673ff
Shut up glibc about _BSD_SOURCE being deprecated
2015-12-19 20:20:26 +01:00
Hiltjo Posthuma
5ed9c48196
code-style consistency
2015-11-08 23:11:48 +01:00
Hiltjo Posthuma
3c91283ede
unboolification
2015-11-08 22:48:43 +01:00
Hiltjo Posthuma
e941181f46
sort include + whitespace fix
2015-11-08 20:38:00 +01:00
Hiltjo Posthuma
43e82adf0d
separate program-specific c99 bool and X11
...
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
2015-11-08 20:35:25 +01:00
Hiltjo Posthuma
42cf1c7d8f
Makefile: package all files with make dist
2015-11-08 16:52:53 +01:00
Quentin Rameau and Hiltjo Posthuma
dce4fb3737
setfullscreen: don't process the property twice
...
Some clients try to set _NET_WM_STATE_FULLSCREEN even when the window is
already in fullscreen.
For example, c->oldstate was set two times in a raw and window would
then always be floating.
We must check that it's not the case before processing it.
(original patch modified with suggestion from Markus Teich
<markus.teich@stusta.mhn.de >)
2015-11-07 14:31:21 +01:00
Hiltjo Posthuma
646b351cc7
sync updated drw code from dmenu
...
important:
- drw_rect: didn't use w and h, change the dwm code accordingly.
- drw_text: text is NULL is not allowed, use drw_rect().
2015-10-20 23:38:31 +02:00
Hiltjo Posthuma
e3b7e1d620
dwm: use ecalloc, prevent theoretical overflow
2015-10-20 23:38:31 +02:00
Hiltjo Posthuma
04db03a4e6
cleanup, dont use c++ style comments
...
- signal: print error string.
- die: start message with lower-case (consistency).
- bump version to 2015.
2015-10-20 23:38:20 +02:00
Hiltjo Posthuma
4a4817b3aa
dwm: cleanup: free schemes and cursors as array
2015-10-20 23:27:31 +02:00
Hiltjo Posthuma
7e1182ce55
config.h: use common default font, pass Xft font name to dmenu
...
dmenu uses Xft now (soon to be released).
2015-10-20 23:10:54 +02:00
Hiltjo Posthuma
40529e1469
config.mk: add $FREETYPELIBS and $FREETYPEINC, simpler to override (ports and *BSDs)
2015-10-20 23:01:49 +02:00
Eric Pruitt and Anselm R Garbe
14343e69cc
Add Xft and follback-fonts support to graphics lib
2015-03-13 21:44:22 +01:00
Anselm R Garbe
35db6d8afc
removed .hgtags, thanks Dimitris for spotting
2014-11-23 15:25:35 +01:00
Anselm R Garbe
3d1090ba89
applied Hiltjo's resize/move limitation
...
"Limit the amount of updates when resizing or moving a window in floating
mode to 60 times per second. This makes resizing and moving alot smoother
and by limiting it it also uses alot less resources on my machine.
2014-08-11 07:24:29 +02:00
Anselm R Garbe
18248ebf4b
same as before with dwm.c as well
2014-05-29 18:05:17 +02:00
Anselm R Garbe
b468873b2b
updated copyright notice in LICENSE file
2014-05-29 18:02:12 +02:00
Anselm R Garbe
cdec9782a1
applied Lukas' focus suggestion at startup, thanks
2013-08-27 20:39:21 +02:00
Anselm R Garbe
6af273771c
applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required
2013-08-02 22:40:20 +02:00
Anselm R Garbe
4fb31e0896
do not take our font declaration as default for st
2013-07-20 09:08:46 +02:00
Anselm R Garbe
b800a1d136
applied Jochen's drw_text patch, thanks
2013-06-23 21:53:09 +02:00
Anselm R Garbe
33a74489f0
applied Julian's enum approach,
...
however renamed theme into scheme resp. Theme into ClrScheme
2013-06-19 19:35:33 +02:00
Anselm R Garbe
5364697914
finished libsl/drw integration
2013-06-16 15:20:29 +02:00
Anselm R Garbe
7edc596311
include font argument for st by default
2013-05-02 17:31:22 +02:00
Anselm R Garbe
68b400e95d
added st to SEE ALSO section
2013-05-01 15:45:32 +02:00
Anselm R Garbe
656882d76f
use st as default terminal from now on
2013-05-01 15:41:44 +02:00
Anselm R Garbe
1479e76f01
shut up about deprecated Xlib functions
2013-05-01 15:39:06 +02:00
Anselm R Garbe
f2544a3318
renamed draw into drw
2013-04-17 21:21:47 +02:00
Anselm R Garbe
aafeaf7317
continued with draw.c and draw.h implementation, now the integration begins
2012-12-09 19:11:11 +01:00
Anselm R Garbe
f21d46ea7d
continued with draw.c abstraction, also started util.{h,c} implementation, that will be used by draw.c as well
2012-12-08 10:13:01 +01:00
anselm@garbe.us
c0ba635c50
removed DDC, all is Draw-dependent
2012-11-18 17:52:42 +01:00
anselm@garbe.us
0a673ad7a3
continued, distinction of Draw and DDC is bad, needs to be merged
2012-11-18 17:26:12 +01:00
anselm@garbe.us
3aabc08ede
reverting the xkb dependency, I don't care if this function is deprecated, it seems it breaks other stuff instead.
2012-11-18 16:39:56 +01:00
anselm@garbe.us
d456617f0e
basic draw.c structure
2012-11-18 12:04:29 +01:00
anselm@garbe.us
61fe833a06
reverting to plain X11 fonts in order to implement draw.c default
2012-11-18 10:56:54 +01:00
anselm@garbe.us
917e281634
removed obsolete bugs from BUGS file
2012-11-17 20:04:04 +01:00
anselm@garbe.us
31451c3ad3
compile fix
2012-11-17 19:12:10 +01:00
anselm@garbe.us
344f35f9f5
applied Neil Klopfstein's patch, slightly modified
2012-11-17 19:10:39 +01:00
anselm@garbe.us
87adcd263b
starting with initial draw.h
2012-11-17 19:01:22 +01:00
anselm@garbe.us
fd3c19bd55
incorporating Xft instead of cairo, cairo provides far too many options
2012-11-02 12:17:50 +01:00
anselm@garbe.us
1bdb393f81
keep 6.1 intact
2012-07-08 09:45:53 +02:00
anselm@garbe.us
940feed314
reverted to old updategeom() after several complains, we need to optimize the old way
2012-07-08 09:43:11 +02:00
anselm@garbe.us
606b44179d
applied James Turner's XkbKeycodeToKeysym patch, thanks
2012-06-23 20:12:49 +02:00
anselm@garbe.us
20f6917910
drastically changed updategeom() handling, see comment in updategeom() for details
2012-06-23 10:12:46 +02:00
anselm@garbe.us
820cbb3545
reversed Andreas Amann's fullscreen fix with the approach proposed by Gary Langshaw:
...
- idea is not supporting movemouse/resizemouse/togglefloating for fullscreen windows
- as fullscreen windows are broken anyways, they should only be adjusted by their own means
2012-06-23 09:06:00 +02:00
anselm@garbe.us
90f3238301
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
2012-04-15 11:41:18 +02:00
anselm@garbe.us
3bfc43c3d0
applied Andreas Amanns' netwm_client_list patch, but with some indentation fixes
2012-03-25 17:49:35 +02:00
anselm@garbe.us
c1128417a9
applied Andreas Amann's netwm_active_window patch, thx
2012-03-25 17:46:03 +02:00
anselm@garbe.us
1b62f8fa58
applied Andreas Amann fullscreen fix, some minor modifications
2012-03-17 18:14:17 +01:00
Connor Lane Smith
54c3044dec
unfocus on slow sloppy monitor focus
2012-02-10 00:36:08 +00:00
anselm@garbe.us
51336aa4a3
applied Eckehard Berns fix fix, sorry that this took so long
2012-02-08 19:54:05 +01:00
anselm@garbe.us
c4b6ac812e
added 20h's clarification
2012-01-22 20:23:49 +01:00
anselm@garbe.us
873bcb97a9
applied Eckehard Berns barwin leak fix and his suggestion to deal with restack() -- the latter aspect needs further investigation.
2012-01-12 07:36:05 +01:00
anselm@garbe.us
907db0a851
config.mk cleanup
2012-01-04 13:30:12 +01:00
anselm@garbe.us
4e7c469862
Added tag 6.0 for changeset ec4baab78314
2011-12-19 16:09:07 +01:00
anselm@garbe.us
26445a0dc9
bump version to 6.0
2011-12-19 15:38:30 +01:00
Connor Lane Smith
b5068e32e9
add sloppy monitor focus
2011-11-15 20:16:58 +01:00
Connor Lane Smith
f099d2d5b5
new default colour scheme
2011-11-06 20:36:23 +01:00
Connor Lane Smith
80a9da555e
calculate window/monitor intersection
2011-11-06 20:31:29 +01:00
Connor Lane Smith
d21026f0a1
honour fullscreen hint on map
2011-11-06 20:30:06 +01:00
anselm@garbe.us
e5a1e77351
testing Brians multiscreen issue fix
2011-11-04 20:02:35 +01:00
Christoph Lohmann
8262d9e663
make ewmh dialog windows float
2011-11-02 12:01:28 +00:00
Connor Lane Smith
90af1ced3c
allow 0 nmaster
2011-10-31 20:09:27 +01:00
Connor Lane Smith
5ccd42f807
fix big-border corner case
2011-10-30 12:14:34 +01:00
garbeam@gmail.com
1586b7a02d
added keyrelease remark to TODO
2011-10-29 10:57:27 +02:00
Connor Lane Smith
2420071f4c
improve tile spacing
2011-10-28 23:45:12 +01:00
Connor Lane Smith
04c26574b8
add nmaster binds to manpage
2011-10-26 12:16:25 +01:00
Connor Lane Smith
b1a28ae1da
apply nmaster patch
2011-10-25 20:40:46 +01:00
Connor Lane Smith
f68a01cd76
apply resize hints in floating layout
2011-10-25 20:08:08 +01:00
Connor Lane Smith
2b625eb73e
hide clients to the left, not the right
2011-10-25 20:01:18 +01:00
garbeam@gmail.com
0f1f30daca
applied Connors cleanup patch of Eckehards proposed fix of applyrules(), thanks everyone involved
2011-08-15 18:44:12 +02:00
garbeam@gmail.com
dec4850d05
applied Connors and Valentins patch to improve the unmapnotify handling of broken clients
2011-08-08 16:55:06 +00:00
garbeam@gmail.com
0de4197cc5
applied Peter Hartlichs nice interim Xinerama and map fix patches, for debugging purposes I also added his transient test driver
2011-07-29 20:01:22 +02:00
garbeam@gmail.com
a372248b80
applied anonymous code cleanup patch
2011-07-27 19:59:10 +02:00
garbeam@gmail.com
69e7d7dfd3
added a marker for the flash fullscreen issue
2011-07-24 10:41:43 +01:00
garbeam@gmail.com
c99fe7dd7d
changed sleep 20 into sleep 1 in example script as suggested by Snader_LB
2011-07-20 18:56:10 +00:00
garbeam@gmail.com
d6670a800d
applied Connors aesthitic buf fix in tile(), thanks
2011-07-20 18:45:40 +00:00
garbeam@gmail.com
6288c44697
applied Peters magic float mode bugfix
2011-07-20 18:36:15 +00:00
garbeam@gmail.com
d5c5c52b30
applied lolilolicon's floating center patch, further investigation wrt his second issue reported needed
2011-07-20 18:33:19 +00:00
garbeam@gmail.com
d0b4575bf4
thanks to recursions on IRC for his remark
2011-07-20 18:30:51 +00:00
garbeam@gmail.com
03518ce49e
Added tag 5.9 for changeset dd74622a4785
2011-07-10 21:25:23 +01:00
garbeam@gmail.com
cd8bb06af5
enabled release flags
2011-07-10 21:24:17 +01:00
garbeam@gmail.com
3150a8a1be
applied Peters wintoclient/wintomon optimisation in enternotify()
2011-07-10 21:22:22 +01:00
garbeam@gmail.com
b3c5f5435a
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client
2011-07-10 21:18:50 +01:00
garbeam@gmail.com
a692bdcf2b
undo the focus optimisation patch for 5.9
2011-07-10 21:12:05 +01:00
garbeam@gmail.com
d83454f6b7
applied Peters two patches, please test hg tip, if nothing breaks this is 5.9
2011-07-09 07:57:10 +01:00
garbeam@gmail.com
27b0142203
applied Garys patch in a slightly modified way
2011-07-02 11:02:22 +02:00
garbeam@gmail.com
867ba36030
applied Nicolas Capit's patch as interim solution until the multiscreen support is reworked in 6.0
2011-07-01 17:56:53 +01:00
Connor Lane Smith
e83f36db10
fixed scroll lock (thanks bogdan)
2011-06-27 20:12:42 +01:00
Connor Lane Smith
212f417e44
fix numlock (thanks mikhail)
2011-06-27 19:35:11 +01:00
garbeam@gmail.com
3a392b8558
making enternotify less focus hungry
2011-06-25 09:07:28 +01:00
garbeam@gmail.com
92fe06b501
applied Andreas Amann's patch from Oct 2010, thanks
2011-06-24 21:02:32 +01:00
garbeam@gmail.com
6cf29bff33
applied Rudys barwidth patch, thanks Rudy
2011-06-17 20:22:54 +01:00
garbeam@gmail.com
60c06a7cb4
don't check for monocle layout in zoom() exit condition
2011-06-14 22:28:16 +01:00
garbeam@gmail.com
1147546122
Thanks for the pedantic review :)
2011-06-14 05:51:21 +01:00
garbeam@gmail.com
d384cee751
fixing some minor issues, next week is dwm-5.9 release time
2011-06-11 08:33:20 +01:00
Connor Lane Smith
5c710cf89c
rm draw.c from 5.9 branch
2011-06-04 23:02:00 +01:00
Connor Lane Smith
8a111c181e
fix typo
2011-06-04 10:18:54 +01:00
Connor Lane Smith
2255bf46a0
cleaner drawing
2011-06-04 10:17:25 +01:00
Connor Lane Smith
04797343db
update draw.c
2011-05-21 20:26:26 +01:00
Connor Lane Smith
e7d41cc188
added draw.h, draw.c
2011-05-20 19:10:26 +01:00
Anselm R Garbe
22d8818850
applied Evil_Bobs cleanup patch
2011-05-12 14:16:33 +00:00
Anselm R Garbe
6784429c3c
applied another minor change to the README
2011-04-27 15:55:18 +00:00
Anselm R Garbe
37fea84de8
applied Thomas' README patch
2011-04-27 12:38:59 +00:00
Anselm R Garbe
c14d293e51
applied Jack's mplayer fullscreen patch
2011-04-26 08:13:39 +00:00
Anselm R Garbe
79b1657a19
missed declaration
2011-04-15 08:13:06 +00:00
Anselm R Garbe
d24837f1ad
minor fix of the NetActiveWindow multi-monitor flaw, slight rearrangement
2011-04-15 08:12:20 +00:00
Anselm R Garbe
3c2d303c0e
applied Peter/Andreas NetActiveWindow patch in a slightly modified version
2011-04-14 13:46:25 +00:00
Anselm R Garbe
1e20a0f78a
applied Brendan MacDonell's WM_TAKE_FOCUS patch, thanks Brendan!
2011-04-12 20:19:32 +00:00
Anselm R Garbe
96f9855248
applied another patch of Hiltjo, thanks
2011-03-25 14:06:46 +00:00
Anselm R Garbe
3c48858ffa
applied Hiltjos' BUGS patch from 23 Mar, sorry took a while :)
2011-03-25 13:57:54 +00:00
Anselm R Garbe
dd46d5b588
applied Hiltjo's multimon mouse-based resize fix
2011-03-23 08:58:57 +00:00
Anselm R Garbe
0bc4e41ebd
applied anonymous patch, I don't think the reversed array access has semantic side-effects
2011-01-07 16:05:22 +00:00
Anselm R Garbe
703c4dd253
added a todo
2010-12-02 10:16:47 +00:00
Anselm R Garbe
b68528d85d
applied Hiltjo's cleanup patch
2010-11-19 11:53:59 +00:00
Anselm R Garbe
a644baf674
applied Hiltjo's tiny cleanup fix
2010-09-27 07:53:44 +00:00
Anselm R Garbe
c1f8688bfa
applied Hiltjo's tiny cleanup patch, thanks!
2010-09-25 13:39:08 +00:00
Anselm R Garbe
bea4dd2490
does this make a difference?
2010-09-11 19:00:18 +00:00
anselm@garbe.us
83d10be1c1
added TODO and bumped version to 5.9
2010-08-24 13:13:20 +01:00
anselm@garbe.us
1529058f27
applied Hiltjo Posthuma's line saver patch
2010-08-23 17:25:53 +01:00
Anselm R Garbe
36311d88af
applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
2010-07-25 09:58:25 +01:00
anselm@garbe.us
f1a2a3c850
Added tag 5.8.2 for changeset a043f0800805
2010-06-04 11:41:16 +01:00
Anselm R Garbe
ee734fae6b
increased version
2010-05-30 10:03:09 +01:00
Anselm R Garbe
62d3caa999
implemented better fullscreen handling, please test
2010-05-30 10:02:56 +01:00
Anselm R Garbe
4c9b397ff9
Added tag 5.8.1 for changeset 1ed1e75c9c2e
2010-05-29 12:48:18 +01:00
Anselm R Garbe
5c6545adf5
removing Sylvain's patch because it breaks more than it fixes unfortunately, re-issuing a bugfix release 5.8.1
2010-05-29 12:48:11 +01:00
Anselm R Garbe
a704b1ee34
Added tag 5.8 for changeset 60ea8fed13ab
2010-05-28 11:43:44 +01:00
anselm@garbe.us
f83d61dfe8
removed DEBUG code and added 2010 to the copyright list
2010-05-27 08:20:42 +01:00
anselm@garbe.us
c6180949a7
applied Sylvain Laurent's EWMH fullscreen state patch, simplified his patch a bit
2010-05-27 08:19:08 +01:00
Anselm R Garbe
1973ab0643
added the related bug reported by voltaic
2010-04-11 18:42:32 +01:00
Anselm R Garbe
427053f8d1
pretty printing bugs a bit
2010-04-01 22:34:46 +01:00
Anselm R Garbe
a88e0373ef
selmon optimisation is needed
2010-04-01 19:39:24 +01:00
Anselm R Garbe
aa9f2be24e
more debug output, experimental focus optimisation
2010-04-01 00:14:15 +01:00
Anselm R Garbe
c53b29e60b
quick typo fix
2010-03-31 23:27:30 +01:00
Anselm R Garbe
d6bdd03d91
it's debug season for upcoming dwm 5.8, so only use this if you really want to run experimental code or debug code
2010-03-31 23:24:22 +01:00
Anselm R Garbe
1144e98394
another bug report
2009-11-25 13:56:17 +00:00
Anselm R Garbe
7671d03a90
removed misleading comment, thanks Romain Bertrand
2009-11-24 09:31:17 +00:00
Anselm R Garbe
bc554d45d8
added nsz's last bug corner case
2009-11-23 08:13:18 +00:00
Anselm R Garbe
ac4caea921
added BUGS, next version is 5.8
2009-10-31 11:45:56 +00:00
Anselm R Garbe
161f2d921b
Added tag 5.7.2 for changeset 15761ac5e2f1
2009-09-27 20:20:14 +01:00
Anselm R Garbe
210378f198
applied Ryan Zheng's patch and re-releasing 5.7.2
2009-09-27 20:20:10 +01:00
Anselm R Garbe
7879616a75
Added tag 5.7.1 for changeset 48c3f87c335d
2009-09-27 10:31:20 +01:00
Anselm R Garbe
9e8dd3479d
fixed the layout symbol bug reported by Nibble (but using a different approach as he suggested)
...
- optimised drawbar() and arrange() handling for multiple monitors, arrange only arranges the relevant monitors when applicable, same with drawbar
- need to release 5.7.1
2009-09-27 10:31:14 +01:00
Anselm R Garbe
0b72be924d
Added tag 5.7 for changeset 257403d4cd96
2009-09-26 19:52:04 +01:00
Anselm R Garbe
91e902f7fe
switching to release flags
2009-09-22 20:34:03 +01:00
Anselm R Garbe
30fed9a211
implemented nn < n case, k-zed please recheck
2009-09-22 20:33:42 +01:00
Anselm R Garbe
c45d46ad9a
use buffer instead of pointer for mon->ltsymbol
2009-09-22 09:53:11 +01:00
Anselm R Garbe
6f55de8310
added missing scan
2009-09-22 09:16:48 +01:00
Anselm R Garbe
07ad298133
implemented different version of updategeom
2009-09-21 19:51:17 +01:00
Anselm R Garbe
f0a4845e7d
added TODO to updategeom in order to implement a decent version of it soon
2009-09-19 11:52:16 +01:00
Anselm R Garbe
82ec7a7ed4
new experimental updategeom() additions that should avoid several problems with Xinerama, this is EXPERIMENTAL and might break something, the algorithms in use are quite complex and cumbersome, patches and comments welcome
2009-09-18 21:18:00 +01:00
Anselm R Garbe
e7300e0f6f
implemented dynamic layout symbol stuff
2009-09-16 15:59:54 +01:00
Anselm R Garbe
c3feffa1e2
applied Tony Lainson's config.def.h patch
2009-09-15 13:50:41 +01:00
Anselm R Garbe
956a430054
update
2009-09-08 13:33:58 +01:00
Anselm R Garbe
01056b6636
hard-core destruction
2009-09-08 13:30:18 +01:00
Anselm R Garbe
eb260b1a41
renaming isdestroyed into destroyed
2009-09-08 13:18:05 +01:00
Anselm R Garbe
7fe81359d4
sync when a client is being killed
2009-09-08 13:16:54 +01:00
Anselm R Garbe
a3a859b4e9
added isdestroyed flag to unmanage
2009-09-08 13:13:03 +01:00
nsz@tpx
9c066c24b3
always updategeom when root is configured
2009-09-07 11:46:02 +02:00
Anselm R Garbe
0a668922a4
another small optimisation
2009-08-18 15:59:38 +01:00
Anselm R Garbe
5762964232
also update title if the client is on an unfocused monitor
2009-08-18 15:42:55 +01:00
Anselm R Garbe
cba6b211c2
applied nsz's dwm.1 patch, also added wmname
2009-08-16 21:39:24 +01:00
Anselm R Garbe
42750a621b
applied Jukka's cosmetic patch
2009-08-16 08:18:54 +01:00
Anselm R Garbe
8ef465d592
applied Jukka's sigchld patch
2009-08-16 08:18:25 +01:00
Anselm R Garbe
33fe200b52
added merged patch of anydot and Neale
2009-08-13 10:45:59 +01:00
Anselm R Garbe
91fffb3f7d
fixed nn declaration
2009-07-27 12:01:58 +01:00
Anselm R Garbe
1fa31efebf
Added tag 5.6.1 for changeset e47a47bd3ed4
2009-07-26 14:02:28 +01:00
Anselm R Garbe
244addb3f4
applied nsz patch
2009-07-21 10:57:54 +01:00
Anselm R Garbe
c13be8d620
updategeom fix for same geom screens
2009-07-21 08:57:04 +01:00
Anselm R Garbe
dc39ae8568
applied nsz' man page comment, thanks!
2009-07-20 17:08:34 +01:00
Anselm R Garbe
966d76a428
merge
2009-07-20 16:40:32 +01:00
Anselm R Garbe
7151bf8329
removed Standard input hint
2009-07-20 16:39:42 +01:00
Anselm R Garbe
dfecd46190
merge
2009-07-18 11:28:31 +01:00
Anselm R Garbe
5bc4db0f76
applied nsz' dwm.1 fixes, thanks Szabolcs!
2009-07-18 11:28:03 +01:00
Anselm R Garbe
999d6e795f
removed misleading comment
2009-07-17 15:28:07 +01:00
Anselm R Garbe
636075297c
merge
2009-07-17 13:35:44 +01:00
Anselm R Garbe
6877a00033
it's all nsz's hard investigation effort, hail nsz! ;)
2009-07-17 13:35:17 +01:00
Anselm R Garbe
0927d635bc
Added tag 5.6 for changeset 555070221577
2009-07-14 19:07:53 +01:00
Anselm R Garbe
450b08dde2
final style fixes
2009-07-14 16:26:04 +01:00
Anselm R Garbe
da80487c07
removed int cast in TAGMASK as suggested by nsz
2009-07-14 16:04:07 +01:00
Anselm R Garbe
d9779c06fc
some stylistic changes
2009-07-14 16:01:14 +01:00
Anselm R Garbe
20996c6c5a
removed obsolete BUG
2009-07-13 12:51:00 +01:00
anselm@x200s.config
8dc9fcf1b9
mark broken clients as broken
2009-07-12 22:49:06 +01:00
anselm@x200s.config
fc21dd4b7e
fixing updatetitle
2009-07-12 22:34:29 +01:00
Anselm R Garbe
758b100d12
extended rule to apply monitors if set up accordingly
2009-07-09 21:52:17 +01:00
Anselm R Garbe
8420fb1ced
reverting to optimised compiler options, current state seems stable
2009-07-09 20:49:48 +01:00
Anselm R Garbe
f6128a16f9
extended man page to mention number of visible windows
2009-07-09 20:11:33 +01:00
Anselm R Garbe
87526be6f0
added client number printing right of layout symbol
2009-07-09 19:58:58 +01:00
Anselm R Garbe
565050ac51
removed monsyms, useless
2009-07-09 11:29:01 +01:00
Anselm R Garbe
5e408d8ff6
restricting number of mons by length of monsyms
2009-07-09 11:21:06 +01:00
Anselm R Garbe
1724f7fa43
introducing const where it might make some sense
2009-07-08 18:59:20 +01:00
Anselm R Garbe
3e6fe6b541
no that's definately better
2009-07-08 17:24:39 +01:00
Anselm R Garbe
6620615ab9
some minor changes
2009-07-08 17:05:20 +01:00
Anselm R Garbe
61c3095f2f
die if malloc sizeof(Monitor) fails
2009-07-08 16:05:36 +01:00
Anselm R Garbe
a72dc2fec2
applied Mate's patch, added Mate to LICENSE
2009-07-06 20:12:47 +01:00
Anselm R Garbe
8b17f5517b
some cleanups
2009-07-02 20:56:23 +01:00
Anselm R Garbe
cd96232f7e
hotfix
2009-07-02 20:38:56 +01:00
Anselm R Garbe
a9e145fe6d
changed focusmon/tagmon to work on prev/next instead (-1/+1), changed shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-.
2009-07-02 20:37:26 +01:00
Anselm R Garbe
5dd92c7655
removed some empty lines
2009-07-02 18:40:04 +01:00
Anselm R Garbe
52bd69c2a4
interactive resizals allow display dimensions again
2009-07-02 18:30:01 +01:00
Anselm R Garbe
ca376970db
more sensible
2009-07-02 16:48:54 +01:00
Anselm R Garbe
8352f2b3a8
hmm, can't decide on the default monitor symbol set
2009-07-02 16:47:00 +01:00
Anselm R Garbe
d4bfde79f3
update
2009-07-02 16:44:57 +01:00
Anselm R Garbe
7ac8c1d4e1
introduced monitor symbols
2009-07-02 16:41:52 +01:00
Anselm R Garbe
16e1ef5d40
minor fix
2009-07-02 14:42:06 +01:00
Anselm R Garbe
1d729384d1
several bugfixes
2009-07-01 19:15:20 +01:00
Anselm R Garbe
25c1eb28f9
some minor fix if xinerama is disabled, still some odd behavior in there
2009-07-01 17:08:10 +01:00
Anselm R Garbe
d719cc9a0e
updated year ranges
2009-06-30 20:20:33 +01:00
Anselm R Garbe
9cde6570cc
fixed usage of sx, sy, sw, sh
2009-06-30 20:15:31 +01:00
Anselm R Garbe
e408ca97d8
don't draw monitor number, if there is just one monitor
2009-06-30 20:00:11 +01:00
Anselm R Garbe
183dc670a3
fixed order of transient monitor applicaion and rule application
2009-06-30 19:56:19 +01:00
Anselm R Garbe
25947bcfdb
hotfix
2009-06-30 19:45:25 +01:00
Anselm R Garbe
1ddfc571ae
several simplifications
2009-06-30 19:39:59 +01:00
Anselm R Garbe
21cd59a630
play safe
2009-06-30 15:56:32 +01:00
Anselm R Garbe
6cbe47d481
applied a collection of Christof Musik patches, and fixed an issue reported by waistcoats on IRC
2009-06-30 15:51:09 +01:00
Anselm R Garbe
029655bb22
some cleanup handling for index based mon search
2009-06-27 18:50:50 +01:00
Anselm R Garbe
27db9d4448
using mon in function names for consistency reasons
2009-06-27 18:42:10 +01:00
Anselm R Garbe
176408afa8
fixed several issues with focus handling via mouse, also added sending clients to the right monitor they belong to after mouse moves/resizals
2009-06-27 18:39:03 +01:00
Anselm R Garbe
64674c395b
fixed focusmon brokeness
2009-06-27 17:38:18 +01:00
Anselm R Garbe
b9dee2c6f1
tag fix
2009-06-26 16:41:27 +01:00
Anselm R Garbe
a73ff905b0
typo fix
2009-06-25 11:17:42 +01:00
Anselm R Garbe
e3f0445df1
assign selected tags of target monitor to client when tagmon is performed (less obtrusive imho)
2009-06-25 11:10:19 +01:00
Anselm R Garbe
ab06f7444b
added some TODOs, some other focus fixes
2009-06-24 20:04:18 +01:00
Anselm R Garbe
a2a3590979
disabled XINULATOR code for now
2009-06-24 19:52:09 +01:00
Anselm R Garbe
e8aafb8e91
made bar based monitor switching working
2009-06-24 19:51:41 +01:00
Anselm R Garbe
18b1312449
several other focus fixes, introduced unfocus()
2009-06-24 19:45:47 +01:00
Anselm R Garbe
80ee95473b
some focus fixes
2009-06-24 15:37:32 +01:00
Anselm R Garbe
454a04acdf
fixed title rendering on non-active screen
2009-06-24 13:51:45 +01:00
Anselm R Garbe
891831fe62
fixed getclient brokeness
2009-06-24 12:48:01 +01:00
Anselm R Garbe
cdb8e27453
some hotfix cleanup related to wild selmon-> destruction
2009-06-24 11:14:51 +01:00
Anselm R Garbe
5c4913e983
some restack fixes, still odd behavior if n>1 on unmanaging clients
2009-06-23 19:09:30 +01:00
Anselm R Garbe
fa5ae54bbb
added some dual head simulator code
2009-06-23 19:00:32 +01:00
Anselm R Garbe
7de534192c
simplified left over re-assignment
2009-06-23 17:39:42 +01:00
Anselm R Garbe
54dc0d542c
fixed tagmon, re-using detach/detachstack and attach/attachstack
2009-06-23 17:34:20 +01:00
Anselm R Garbe
913333f518
simplified ISVISBLE and nexttiled
2009-06-23 17:20:33 +01:00
Anselm R Garbe
d702f39274
moved clients/stack/sel to Monitor, that's a per monitor structure from now on
2009-06-23 17:17:25 +01:00
Anselm R Garbe
0d8671a5ad
declare buf only if XINERAMA support is used
2009-06-23 16:29:32 +01:00
Anselm R Garbe
38e9b67026
if compiled without XINERAMA support assume 1 monitor by default (n = 1)
2009-06-23 16:28:37 +01:00
Anselm R Garbe
a3bbdb1b7b
some more refactoring, bar toggle fixes
2009-06-22 20:29:59 +01:00
Anselm R Garbe
d53ceee682
hotfixes
2009-06-22 18:13:05 +01:00
Anselm R Garbe
78f56672b5
changes monitor structure to be a list
2009-06-22 14:58:08 +01:00
Anselm R Garbe
c2fff604a7
we need a tagset per monitor, removed tagset declaration from config.h
2009-06-20 17:02:55 +01:00
Anselm R Garbe
6644a6aa2e
some minor fixes regarding the new xinerama support
2009-06-20 16:18:02 +01:00
Anselm R Garbe
3da2453997
several fixes through ISVISIBLE change (takes Monitor into account)
2009-06-20 15:51:34 +01:00
Anselm R Garbe
2ce37bc69e
experimental xinerama support, two new actions, Mod1-w/e and Mod1-Shift-w/e
2009-06-20 15:10:04 +01:00
Anselm R Garbe
f27ccc5c60
introduction of Monitor for better Xinerama support, work in progress
2009-06-19 20:15:15 +01:00
Anselm R Garbe
2dbfda72f0
removed MAXTAGLEN
2009-05-29 09:29:22 +01:00
Anselm R Garbe
7df39f3fc7
next version will be 5.6, shortened some very long lines
2009-04-20 11:03:33 +01:00
Anselm R Garbe
0b45199cec
Added tag 5.5 for changeset deaa276abac1
2009-04-18 12:49:34 +01:00
Anselm R Garbe
3632d7132f
applied Marc Andre Tanners showhide patch, the removal of ntiled
2009-03-19 13:06:15 +00:00
Anselm R Garbe
565697087b
applied Gottox' patches, and also removed usegrab
2009-03-17 19:53:00 +00:00
arg@garbe.us
ea0008cba2
applied the patch I missed from Gottox, thanks mate!
2009-03-03 11:22:16 +00:00
Anselm R Garbe
af508c2e82
applied Gottox' resizehints patch, thanks Gottox!
2009-03-02 10:43:48 +00:00
Anselm R Garbe
f0d1d5206f
some NULL fixes
2009-02-21 19:20:11 +00:00
Anselm R Garbe
1c80c05587
override_redirect is Bool
2009-02-21 19:15:30 +00:00
Anselm R Garbe
1e350be229
applied Gottox' adjustborder removal patch (thanks!)
2009-02-21 19:12:46 +00:00
a@null
1a26389e2b
applied nsz' remark
2009-02-14 11:21:24 +00:00
Premysl Hruby
bf9da23f07
fix of typo, thx to Enno Gottox Boland
2009-02-12 17:26:12 +01:00
a@null
2373940215
Added tag 5.4.1 for changeset 85a78d8afa0f
2009-02-08 12:11:35 +00:00
a@null
90687482ad
fixed an issue reported by Nibble, also fixed s/2008/2009/
2009-02-08 12:11:22 +00:00
a@null
5ab627c06c
Added tag 5.4 for changeset 8b7836a471f8
2009-02-08 09:47:02 +00:00