Commit Graph

1782 Commits

Author SHA1 Message Date
NRK
60e9a14998 fix mem leak in cleanup()
maybe leak isn't the best word, given that the object lives for the
entire duration of the program's lifetime.

however, all elements of scheme are free-ed, can't think of any reason
why scheme itself should be an exception.
2022-03-13 10:49:43 +01:00
12569e61c5 Selective fullscreen config 2022-01-10 22:09:42 +01:00
Francisco Tapia
50514a2e9a [PATCH] Selective fake full screen 2022-01-10 22:09:30 +01:00
Hiltjo Posthuma
d39e2f3441 bump version to 6.3 2022-01-07 12:39:18 +01:00
Chris Down
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
bb6ccde971 Fix fullscreen 2021-11-13 02:03:43 +01:00
Sermak
75a4d98edc [PATCH] Simulate toggleable fullscreen mode 2021-11-13 01:15:37 +01:00
590f4d7602 Update keybindings 2021-10-15 01:04:42 +02:00
Soenke Lambert
43d9dc4a93 [PATCH] Fullscreen current window with [Alt]+[Shift]+[f]
This actually fullscreens a window, instead of just hiding the statusbar
and applying the monocle layout.
2021-09-27 22:37:32 +02:00
f8030a0859 Add makefile target for reloading dwm 2021-09-27 22:26:48 +02:00
f20074cd72 Add bt-menu shortcut 2021-09-27 22:25:58 +02: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
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
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
cedafa274c Add configuration for more jetbrains apps 2021-07-07 01:54:34 +02:00
24c27ad415 Add ignoretransient to default config 2021-07-07 01:52:21 +02:00
Wilfried SUGNIAUX
9d11cd7d18 DWM 6.2:
-Making a Workaround patch for WebStorm:
do not care about property notification saying that a second window is transient to the first webstorm window

(cherry picked from commit f47c3c83257eed490c6aaf876fbb67b2ddb8b62c)
2021-07-07 01:51:11 +02:00
d2b23e176d Change command to run when clicked on statusbar 2021-07-07 01:43:01 +02:00
7a3a2c3cc1 Fix gapps in column mode 2021-07-07 01:04:04 +02:00
c4ccdce0b6 Change colors 2021-07-07 00:51:47 +02:00
Chris Down
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
40701c6c58 Add pause action 2021-01-21 17:40:25 +01:00
Przemysław Grondek
216c8b8e11 Colors change 2021-01-21 10:19:17 +01:00
Przemysław Grondek
f6e8d58514 Update some programs configuration 2021-01-21 10:16:30 +01:00
057ce85595 Update config 2020-12-02 12:21:59 +01:00
Przemysław Grondek
6699479e62 Add media keys 2020-10-29 14:30:37 +01:00
Przemysław Grondek
5d027b08f3 Bind printscreen key to screenshot command 2020-08-26 16:54:06 +02:00
Ian Remmler
61bb8b2241 Fix x coordinate calculation in buttonpress. 2020-08-21 16:13:22 +02:00
Przemysław Grondek
82aa4b8325 Add config for Xephyr and Xnest 2020-08-03 10:29:10 +02:00
Hiltjo Posthuma
bb2e7222ba dwm.1: fix wrong text in man page 2020-07-08 18:05:50 +02:00
pgrondek
17555f86d1 Update config 2020-07-02 11:41:26 +02:00
Alex Flierl
54d641ef3f Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.

(cherry picked from commit f04cac6d6e)
2020-06-29 01:24:56 +02:00
pgrondek
b774677b0a Hide vacant tags
https://dwm.suckless.org/patches/hide_vacant_tags/
2020-06-16 01:43:25 +02:00
Alex Flierl
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
pgrondek
ed637dac70 Add window swallowing
https://dwm.suckless.org/patches/swallow/
2020-06-08 20:30:45 +02:00
pgrondek
a0d0d123a7 Fix bottom gapp in stac 2020-06-01 01:35:59 +02:00
pgrondek
d5b301e51c Make gapps work with column layout 2020-06-01 01:31:44 +02:00
pgrondek
7ba333192a Change shortcuts for IDE's 2020-06-01 00:57:38 +02:00
pgrondek
f490c2d1b2 Show firefox pip window on all tags 2020-06-01 00:55:43 +02:00
pgrondek
2ded22419e Revert "Revert "Add columns layout""
This reverts commit 03d28aa963.
2020-05-29 23:24:11 +02:00
pgrondek
03d28aa963 Revert "Add columns layout"
This reverts commit acdf610fda.
2020-05-29 12:20:24 +02:00
pgrondek
5eee770269 Update gitignore 2020-05-29 11:34:31 +02:00
pgrondek
9023b15621 Add config for locking 2020-05-29 11:34:17 +02:00
pgrondek
acdf610fda Add columns layout
https://dwm.suckless.org/patches/columns/
2020-05-29 11:24:01 +02:00
pgrondek
a5e4455d7a Attachside patch
https://dwm.suckless.org/patches/attachaside/
2020-05-29 11:18:11 +02:00
pgrondek
dbe98ebfe0 Add fullgaps 2020-05-29 11:02:22 +02:00
pgrondek
44ba63274f Add system tray
Original author: Jan Christoph Ebersbach <jceb@e-jc.de>, inspired by http://code.google.com/p/dwm-plus
 URL: http://dwm.suckless.org/patches/systray
 dwm 6.2 port by Igor Gevka <igor.gevka@gmail.com>
2020-05-29 00:48:46 +02:00
pgrondek
47ac88e9d8 Change config 2020-05-29 00:39:28 +02:00
pgrondek
ebab2ceefd Add gitignore 2020-05-29 00:35:06 +02:00
pgrondek
77c044d4cf Some configuration 2020-05-29 00:35:06 +02:00