Tony Crisci
e690e3d483
Cast con id as uintptr_t ( #2298 )
...
Use `uintptr_t` to cast the con id to int instead of `long int`. This
type is guaranteed to hold the pointer as an int regardless of platform.
fixes #2283
2016-04-15 00:27:43 -07:00
Ingo Bürk
80dddd9961
Correctly count the number of windows for no_focus. ( #2296 )
...
Previously we counted the number of (direct) children of the workspace to
decide whether no_focus should be applied or not. However, this doesn't
work correctly if there's a single container with multiple windows on the
workspace.
This patch correctly counts all windows on the workspace.
fixes #2292
2016-04-15 00:26:42 -07:00
Ingo Bürk
83c8740bf1
Only grab the mouse buttons that need to be grabbed. ( #2290 )
...
This is a followup to #2049 . While we had fixed that bug by only grabbing
buttons 4 and 5 if there is a whole-window binding for that button, this
did not consider buttons higher than 5 as found on many mice.
Therefore, we now ditch the special handling for scrollwheel buttons and
instead do the same for all buttons higher than 3.
fixes #2271
2016-04-13 10:45:57 -07:00
Michael Stapelberg
0060586190
Merge pull request #2287 from layus/fix-punned-pointer
...
Fix punned-pointer warning from gcc
2016-04-13 10:34:53 -07:00
Guillaume Maudoux
b52482705e
Avoid hazardous casting.
2016-04-11 15:00:47 +02:00
Guillaume Maudoux
8dc7691a6f
Remove "dereferencing type-punned pointer" warning
...
Fix the remaining warning discussed in #1538 .
This is obviously a false positive from gcc.
2016-04-11 14:50:01 +02:00
Ingo Bürk
b3fb3cbfea
Update i3bar LICENSE to conform to other LICENSE files. ( #2284 )
...
This change of the LICENSE has been approved by Axel Wagner in #2281 .
2016-04-10 04:15:49 -07:00
Michael Stapelberg
86f00fdda0
Merge pull request #2278 from jolange/version-extraction
...
Version extraction
2016-04-10 04:09:18 -07:00
Michael Stapelberg
c7e92ead94
travis: clean old docs before building with asciidoc git config
2016-04-09 12:46:15 +02:00
Michael Stapelberg
12c073e2ee
cleanup-bintray: keep the most recent, not delete the most recent
2016-04-09 11:55:25 +02:00
Michael Stapelberg
bd29745eff
travis: build debian packages and documentation
...
The resulting packages are pushed to Debian repositories hosted on
bintray.com.
This is the first step to move away from our custom buildbot setup (see
https://i3wm.org/docs/buildbot.html for details on that) towards
infrastructure which is more standard (travis) and in the open.
2016-04-08 09:31:07 +02:00
Johannes Lange
f74327e7c6
use git version information if possible, otherwise use information
...
from (I3_)VERSION files (for tarballs)
2016-04-07 19:12:21 +02:00
Johannes Lange
9f27716d16
dist tarball uses existing (I3_)VERSION file
2016-04-07 19:12:21 +02:00
Johannes Lange
808bad10ef
auto-creating (I3_)VERSION for each release and post-release version files
...
with 'non-git' suffix
fixes #1993
2016-04-07 19:12:21 +02:00
Johannes Lange
64c81132d2
initial (manual) version files check-in
2016-04-07 19:12:21 +02:00
Ingo Bürk
ea55729cf2
Remove unmaintained CHANGELOG file from i3bar
2016-04-07 08:35:29 +02:00
wentasah
fec1a9511e
Make fullscreen windows open on the output which is indicated by their geometry
...
With this change, multi-monitor presentations (e.g. as implemented by
LibreOffice Impress) work out of the box. Previously, one had to move
the presentation windows to the right outputs oneself.
2016-04-06 21:19:10 +02:00
Eric Engeström
66d9c983e4
Fix spelling mistakes
2016-04-04 09:33:59 +02:00
Hong Xu
a2632fd308
Point out the default ipc message type in i3-msg.man
2016-04-04 08:47:07 +02:00
Michael Stapelberg
ba550382a3
debian: remove menu file, add lintian-overrides
2016-04-01 16:34:56 +02:00
Michael Stapelberg
5dd4508c74
*.xsession.desktop: add Keywords=
...
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693918 and
https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords
2016-04-01 15:57:41 +02:00
Michael Stapelberg
84c39a1103
Merge pull request #2243 from Xarthisius/pango_support
...
Add missing MAX macros, ensure that i3 can be compiled without pango
2016-03-30 08:47:56 +02:00
Michael Stapelberg
eb837cbd00
Merge pull request #2266 from cedricbu/dmenu-death-by-failed-open
...
i3-dmenu-desktop: do not die on failed open
2016-03-24 09:40:19 +01:00
Cedric
7b1729a85b
i3-dmenu-desktop: do not die on failed open
2016-03-23 18:48:38 +01:00
Kacper Kowalik (Xarthisius)
eb0a0a166f
Convert ifdef CAIRO_SUPPORT to if statements to keep consistency with common.mk
2016-03-23 10:58:10 -05:00
Kacper Kowalik (Xarthisius)
301320585e
Add missing MAX macros, ensure that i3 can be compiled without pango
2016-03-23 10:58:10 -05:00
Michael Stapelberg
d68387bf5d
Merge pull request #2264 from ixjlyons/i3bar-protocol-typos
...
Fix typos in documentation.
2016-03-21 12:11:35 -07:00
Kenneth Lyons
ac97dbdf90
Fix typos in documentation.
2016-03-21 10:00:25 -07:00
Michael Stapelberg
6fb271fc1e
Merge pull request #2245 from Osse/next
...
Update information on where to find #i3 on IRC
2016-03-11 19:02:43 -08:00
Øystein Walle
868180565e
Update information on where to find #i3 on IRC
2016-03-10 18:05:17 +01:00
Michael Stapelberg
960e6384cc
Merge pull request #2244 from jubalh/desktopf
...
Make i3.applications.desktop file more complete
2016-03-09 11:45:15 +01:00
Michael Vetter
df4b4d0f40
Make i3.applications.desktop file more complete
...
Add GenericName to i3.applications.desktop file.
2016-03-09 10:27:04 +01:00
Michael Stapelberg
42f5a6ce47
travis: skip login+push for pull requests
2016-03-06 18:51:52 +01:00
Michael Stapelberg
ab2d46b65b
release.sh: clone from canonical location
...
This ensures the repository is up-to-date (in all branches!), hopefully
preventing merge mistakes such as the one fixed with
0e29101ae5
2016-03-06 17:02:12 +01:00
Michael Stapelberg
efff2361cb
release.sh: update i3-announce mailing list address
2016-03-06 16:31:11 +01:00
Michael Stapelberg
cb4235706f
update release.sh for the 4.12 release
2016-03-06 16:27:49 +01:00
Michael Stapelberg
018a47ceef
debian: update changelog
2016-03-06 16:26:03 +01:00
Michael Stapelberg
0a601a23d6
Merge branch 'release-4.12'
2016-03-06 16:17:27 +01:00
Michael Stapelberg
c9f0bc174d
release i3 4.12
2016-03-06 16:17:15 +01:00
Michael Stapelberg
8d22669311
debian/watch: verify signature, use https
2016-03-06 16:16:55 +01:00
Michael Stapelberg
0d33f70ac7
debian/control: bump standards-version to 3.9.7
2016-03-06 16:16:55 +01:00
Michael Stapelberg
3ee7828460
debian/compat: bump debhelper compat level to 9
2016-03-06 16:16:53 +01:00
Michael Stapelberg
601108437b
debian: update copyright to machine-readable copyright
2016-03-06 14:45:46 +01:00
Michael Stapelberg
e4702b9338
Merge pull request #2239 from wodny/xcb-32bit-properties
...
window_update_motif_hints(): uint32_t for fields, fixes #2238
2016-03-03 09:01:49 +01:00
Marcin Szewczyk
ad36e32764
window_update_motif_hints(): uint32_t for fields, fixes #2238
...
xcb_get_property_value() returns 32-bit property fields
2016-03-02 23:31:08 +01:00
Michael Stapelberg
6fe8d30d65
Merge pull request #2233 from Airblader/bug-2228
...
Revert to default binding mode before reloading the config.
2016-02-25 21:19:14 +01:00
Michael Stapelberg
70cc9af69b
Merge pull request #2232 from Airblader/bug-2229
...
Determine focused workspace correctly when moving workspace to output.
2016-02-25 21:18:55 +01:00
Michael Stapelberg
a3d87c5b57
Merge pull request #2231 from Airblader/feature-2223
...
Introduce I3_FLOATING_WINDOW.
2016-02-25 21:18:29 +01:00
Ingo Bürk
ad702dff13
Revert to default binding mode before reloading the config.
...
If a user reloads the config while in some binding mode, the binding mode
will revert to the default, but no event will ever be fired, causing a
broken i3bar mode display.
This patch explicitly reverts to the default binding mode before reloading
the config. We reload rather than switch to the binding mode after having
reloaded the config because there's no guarantee that mode will even still
exist.
fixes #2228
2016-02-25 19:28:48 +01:00
Ingo Bürk
a9d8184c73
Determine focused workspace correctly when moving workspace to output.
...
This patch correctly determines the previously focused workspace on the
target output when moving a workspace to another output. Before, we used
nodes_head for this, which will not actually return the previously focused
workspace, but just the first workspace on that output. Hence, we now use
focus_head instead.
This bug was introduced all the way back in 1e143fea
when the feature of
moving workspaces to another output was first implemented.
fixes #2229
2016-02-25 19:12:09 +01:00