Commit Graph

7202 Commits

Author SHA1 Message Date
Orestis Floros
6b2d8cb4d6
Make get_assigned_output public 2020-10-18 17:28:14 +02:00
Orestis Floros
9d2c855fcd
workspace_get: Remove useless argument
Also reworks the structure a bit
2020-10-18 17:28:14 +02:00
Orestis Floros
9b295fbb57
Remove dead declarations in header files 2020-10-18 17:28:09 +02:00
Orestis Floros
440268f454
Merge pull request #4116 from ammgws/patch-1
Update WORKSPACES reply docs
2020-10-15 09:41:54 +02:00
Orestis Floros
fff8b0c0e8
Merge pull request #4172 from jorgheymans/patch-1
increase font-size for kbd in refcard
2020-10-13 10:29:18 +02:00
Orestis Floros
144c483b08
Merge pull request #4197 from zero77/patch-1
Update README.md
2020-10-13 10:26:54 +02:00
zero77
9c826655a3
Update README.md
This quickly shows all package versions across different distros at a glance.
2020-09-15 13:41:34 +00:00
Mike Sharov
04c489043c
Reformat LICENSE so github sees it as BSD-3-Clause. (#4181)
This changes LICENSE text to the standard BSD-3-Clause text.
	The wording is almost identical, with only "copyright holders
	and contributors" replacing "Michael Stapelberg and contributors"
	in the license text.
2020-09-02 11:42:05 +02:00
Orestis Floros
f33a49372f
i3bar: Remove duplicate call to kick_tray_clients (#4163)
Fixes #4159
Fixes #4162
2020-08-31 08:58:46 +02:00
Jorg Heymans
fa94d2d8a9
increase font-size for kbd in refcard
fixes https://github.com/i3/i3/issues/4135
2020-08-10 22:53:44 +02:00
Orestis Floros
e5992eed16
Merge pull request #4145 from i3/orestisfl-patch-2
route_click: Correctly eat the event
2020-08-01 09:43:26 +02:00
Michael Stapelberg
15e51ca38c Update debian/changelog 2020-07-26 10:25:37 +02:00
Michael Stapelberg
5af9ea65fe Merge branch 'release-4.18.2' 2020-07-26 10:11:49 +02:00
Michael Stapelberg
6bb01bbe83 Merge branch 'stable' into next 2020-07-26 10:11:49 +02:00
Michael Stapelberg
768fd7f21c Set non-git version to 4.18.2-non-git. 2020-07-26 10:11:49 +02:00
Michael Stapelberg
82450c9508 release i3 4.18.2 2020-07-26 10:11:37 +02:00
Orestis Floros
68904aeb38 Fix i3bar Xorg memory leak (#4140)
The `*_free_*` calls in this branch:
51b0583578/i3bar/src/xcb.c (L1854)
are never called when we remove the output from the tailq during a
refresh.

Fixes #4123
2020-07-22 09:33:19 +02:00
Orestis Floros
551d0a5b13 get_output_by_name: guard output->primary with require_active
This is related to #4048 but might not fix it completely. Either way,
this should be the correct behaviour of the function.
2020-07-22 09:32:29 +02:00
Orestis Floros
96639c0410 floating_maybe_reassign_ws: only re-focus if previously focused
Fixes #3979
2020-07-22 09:24:24 +02:00
Orestis Floros
e674073027
Merge pull request #4147 from compguy284/kick_tray_clients
kick tray clients before destroying the bar
2020-06-30 11:19:36 +02:00
Mark Guptill
838b600fea kick tray clients before destroying the bar 2020-06-30 04:34:32 -04:00
Orestis Floros
1449d4890f
Merge pull request #4146 from lukaskern/next
Fixed a typo in the user's guide
2020-06-29 21:00:12 +02:00
Lukas Kern
2c1b18b1ac Fixed a typo in the user's guide 2020-06-29 20:34:35 +02:00
Orestis Floros
65e468edd7
route_click: Correctly eat the event
Restores original intention of 93e96f4 after #4144
2020-06-29 10:47:50 +02:00
Ingo Bürk
a45eb8156c
Merge pull request #4144 from i3/orestisfl-patch-2
route_click: Fix regression: release mouse
2020-06-29 10:25:00 +02:00
Orestis Floros
874d862507
route_click: Fix regression: release mouse
Fixes #4143
2020-06-29 09:55:11 +02:00
Orestis Floros
025743eaf9
Fix i3bar Xorg memory leak (#4140)
The `*_free_*` calls in this branch:
51b0583578/i3bar/src/xcb.c (L1854)
are never called when we remove the output from the tailq during a
refresh.

Fixes #4123
2020-06-27 00:10:53 +02:00
Ingo Bürk
51b0583578
Merge pull request #4133 from VasilyFomin/patch-1
Fixed a typo in the docs
2020-06-25 08:34:53 +02:00
Vasily Fomin
24e30a81c3
Fixed a typo in the docs 2020-06-24 17:51:05 -07:00
Orestis Floros
5bc5fc188b
Merge pull request #4131 from stapelberg/bindingstate
binding state post-submit review fixes
2020-06-17 11:22:23 +02:00
Michael Stapelberg
b402ce2cc9 binding state post-submit review fixes 2020-06-16 22:28:58 +02:00
Jason
4e676ef73e
i3-msg: add missing option (#4128) 2020-06-16 22:27:39 +02:00
Michael Stapelberg
4085c4be3b
the stable version can now be found in the stable branch (#4129)
fixes #4127
2020-06-15 12:00:24 +02:00
Jason
209bef7ea3
Update WORKSPACES reply docs 2020-06-14 08:22:10 +09:00
Ingo Bürk
cf09cc790c
Merge pull request #4125 from orestisfl/move-fullscreen-to-ws
_con_move_to_con: Traverse below con to check for fullscreen
2020-06-10 08:14:11 +02:00
Orestis Floros
4d9c3131ad
_con_move_to_con: Traverse below con to check for fullscreen
Fixes #4124
2020-06-10 03:44:02 +02:00
Ingo Bürk
f4964faef0
Merge pull request #4122 from stapelberg/bindingstate
Introduce GET_BINDING_STATE IPC command
2020-06-07 00:17:34 +02:00
Michael Stapelberg
45feaac54c Introduce GET_BINDING_STATE IPC command
fixes #3892
2020-06-06 20:39:05 +02:00
Orestis Floros
50160eb13b
Merge pull request #4120 from stapelberg/meson-i3test
add i3test_pm dependency after all
2020-06-06 14:25:16 +02:00
Michael Stapelberg
ac5368770e add i3test_pm dependency after all
I suppose the now-conditional docs building had previously pulled in i3test_pm
implicitly.

related to #4086
2020-06-06 14:14:24 +02:00
Michael Stapelberg
ff77b67101
switch from clang-format-6 to clang-format-9 (#4121)
No changes required, but this unbreaks our CI
2020-06-06 14:03:31 +02:00
Orestis Floros
db2526c39c
Merge pull request #4109 from i3/orestisfl-patch-2
i3-input: Fix memory leaks
2020-05-31 12:15:45 +02:00
Orestis Floros
c9f8183841
Merge pull request #4114 from orestisfl/i3bar-regression
Fix swapped cmd_bar_{mode,hidden_state}
2020-05-31 12:15:20 +02:00
Ingo Bürk
51d6ddf323
Merge pull request #4115 from ammgws/pwoerdocs
i3bar: improve docs for battery saving feature
2020-05-31 11:07:58 +02:00
Jason Nader
cf94ce6c2b
i3bar: improve docs for battery saving feature 2020-05-31 17:06:07 +09:00
Orestis Floros
ae9613576f
Fix swapped cmd_bar_{mode,hidden_state}
Mentioned in
fb2677f5f4 (r39550195)
2020-05-30 16:46:14 +02:00
Orestis Floros
128f9c0109
i3-input: Fix memory leaks
Mentioned in #4107
2020-05-28 10:23:40 +02:00
Orestis Floros
dd13398e04
Merge pull request #4106 from orestisfl/nagbar
Improve handling of nagbar processes
2020-05-24 15:16:08 +02:00
Orestis Floros
00ffa68a6c
Move nagbar cleanup to i3_exit
Otherwise, each time we start a nagbar, a cleanup handler is created.
However, each of these handlers tries to kill the same process (->data
is a pointer to config_error_nagbar_pid / command_error_nagbar_pid).

With this commit, both potential nagbar processes are killed once.
2020-05-24 13:04:33 +02:00
Orestis Floros
78595f1f68
Improve handling of nagbar processes
Other changes in nagbar_exited:
- Remove ERROR from ELOG as it shows up as "ERROR: ERROR:"
- Make sure to reset the PID even when the process did not exit
normally.
- Use ELOG when exitcode != 0
- Remove the not found error: if nagbar is not in $PATH, exec_i3_utility
prints an error as well.

For the record, I also implemented a more complicated approach with a
new watcher data structure:
bd3aaf3a33
While writing the commit message, it occurred to me to compare
watcher->pid with *watcher->data, which fixes the problems mentioned in
that patch.

Fixes #4104
2020-05-24 13:04:33 +02:00