Commit Graph

4212 Commits

Author SHA1 Message Date
4fbc832f66 Merge branch 'fix-move-window-center' 2013-08-08 22:44:30 +02:00
cc36c94b60 Merge branch 'master' into next 2013-08-08 22:44:30 +02:00
69d7adcf49 Add missing return after error reporting. 2013-08-08 22:44:23 +02:00
3be0b519c9 Update documentation paragraph on variables
see http://infra.in.zekjur.net/archives/i3-discuss/2013-August/001377.html
2013-08-08 22:42:15 +02:00
c296a57db9 Merge branch 'fix-float-h' 2013-08-08 22:37:47 +02:00
20cc9cfe70 Merge branch 'master' into next 2013-08-08 22:37:47 +02:00
0b168ee499 Include float.h for DBL_EPSILON
https://bugs.gentoo.org/show_bug.cgi?id=480272

Patch was written by Jeroen Roovers <jer@gentoo.org>
2013-08-08 22:37:27 +02:00
6562f440c5 update debian/ packaging 2013-08-07 21:21:47 +02:00
f682841ae1 Merge branch 'next' 2013-08-07 21:13:46 +02:00
4d2785da68 Merge branch 'release-4.6' into next 2013-08-07 21:13:41 +02:00
e6ee8b3256 add release notes for v4.6 2013-08-07 21:04:18 +02:00
bf760d0241 log.c: use posix_fallocate() instead of ftruncate() (Thanks don)
The effect is that the error handling is much better. posix_fallocate()
will allocate all the requested space, whereas ftruncate() does not.

Before this commit, in case the /dev/shm filesystem is too small to hold
the _contents_ of the log file, i3 will SIGBUS when writing to the shm
logfile. With this commit, it will print an error message on startup,
but continue to run without logging.
2013-08-01 00:42:24 +02:00
3eea370db2 i3bar: draw workspace buttons at x=0 instead of x=1
This makes the workspace buttons align with the window borders, which is
particularly visible with color configurations like the one in this
screenshot: http://i.imgur.com/CH8srF5.png

fixes #687
2013-07-29 21:50:59 +02:00
0c7a76c2f1 Handle the _NET_REQUEST_FRAME_EXTENTS ClientMessage (java compat)
This ClientMessage can be used to estimate how big the window will be
before opening it. Java always sends the ClientMessage and checks the
atom that should be set by the window manager, but it seems that the
fallback code path has a race condition.

Let’s see if the situation gets better with this change. I have been
running this patch for about two weeks and have not seen any issues with
it.

fixes #934
fixes #709
2013-07-27 15:06:08 +02:00
88671986f4 implement unmark command 2013-07-17 23:02:31 +02:00
35aec2f038 i3-dmenu-desktop: honor Path= key (Thanks Alexander)
fixes #1041
2013-07-13 17:47:10 +02:00
eec80838ab actively delete _NET_WORKAREA on startup
fixes #1038
2013-07-13 12:24:15 +02:00
1f8a860744 bugfix: Resize and center a scratchpad even when a criteria is used. 2013-07-11 21:18:21 +02:00
023594909e Implement debuglog command
Add debuglog command that takes toggle|on|off. Add get_debug_logging()
to be able to toggle. Make t/187-commands-parser.t expect 'debuglog'.
Document the debuglog command in userguide.
2013-07-07 15:33:42 +02:00
8a7a80e22e Merge branch 'fix-nagbar-without-font' 2013-06-29 23:47:29 +02:00
6241419c86 Merge branch 'master' into next 2013-06-29 23:47:29 +02:00
e8759691b8 Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks xeen)
fixes #1030
2013-06-29 23:46:53 +02:00
f55b7977e8 Store aspect_ratio instead of weird proportional_{width,height} (Thanks phillip)
This commit only goes to “next” because I am not sure whether it
actually makes things better in all cases and want to give it some
testing first.

There was no documented reason behind using the
proportional_{width,height} variables, so I suppose that code was just
stupidity on my part (it was written merely a month after I started this
project in 2009).

fixes #1032
2013-06-29 23:11:54 +02:00
73508dec0c Merge branch 'fix-whitespace' 2013-06-29 20:58:51 +02:00
c4d4418745 Merge branch 'master' into next 2013-06-29 20:58:51 +02:00
d055e70a89 tests: update t/172-start-on-named-ws.t to check the previous commit 2013-06-29 20:58:33 +02:00
625d5bdba6 Bugfix: Ignore spaces in front of default workspace name 2013-06-29 20:58:15 +02:00
e53b410894 Merge branch 'fix-floating-criteria' 2013-06-29 20:28:07 +02:00
78e99440f6 Merge branch 'master' into next 2013-06-29 20:28:07 +02:00
b4f7142509 Bugfix: fix focus handling in 'floating disable' on non-visible windows (Thanks necoro)
fixes #1027
2013-06-29 20:27:33 +02:00
d7222c0073 Merge branch 'fix-unaligned-memory' 2013-06-29 19:28:41 +02:00
6582da9939 Merge branch 'master' into next 2013-06-29 19:28:41 +02:00
cecadbfdfe Bugfix: fix bus error on OpenBSD/sparc64 (Thanks tobiasu)
fixes #1034
2013-06-29 19:28:13 +02:00
32e2180b56 Merge branch 'fix-nagbar' 2013-06-28 00:14:30 +02:00
8677936f6c Merge branch 'master' into next 2013-06-28 00:14:30 +02:00
4765427f21 i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem) 2013-06-28 00:14:09 +02:00
d83b1f7851 Add a few things to .gitignore 2013-06-23 22:34:13 +02:00
49bc20c934 Fix incorrect comment 2013-06-23 22:34:04 +02:00
78fad71894 Update parent urgency hint if a child is removed. 2013-06-23 22:27:30 +02:00
3cf46ef4cc add a testcase for the shmlog command 2013-06-23 22:14:59 +02:00
85cb313153 reset shmlogname when disabling the log
This makes the i3-dump-log error message more helpful.
2013-06-23 22:14:39 +02:00
71dfcbc674 userguide: improve the shmlog docs
• the section heading needs === instead of ==
• better title
• explain what shared memory logging does and where to find more
  information
• add syntax section
• improve examples
• clarify that shmlog <size> discards the current log
2013-06-23 22:10:42 +02:00
f9d93d75b3 Implement shmlog command
Add shmlog command that takes <size>|toggle|on|off. Separate logbuffer
management into open_logbuffer() and close_logbuffer(). Make
t/187-commands-parser.t expect 'shmlog'. Add update_shmlog_atom() to
update the SHMLOG_PATH. Document the shmlog command in userguide.
2013-06-23 21:48:02 +02:00
684a77442e Make default shmlog_size a const int 2013-06-12 23:24:07 +02:00
58f3daac1d Add 'NoDisplay=true' to i3.application.desktop 2013-06-12 19:47:57 +02:00
75206db3a1 Bugfix: s/i3bar/i3-nagbar/ (Thanks badboy) 2013-06-10 23:23:22 +02:00
cbdc8c33dd remove unused pathlen (Thanks gcc) 2013-06-10 23:10:46 +02:00
57b43d84f9 retab! get_exe_path.c
We seriously need auto-formatting.
2013-06-10 23:08:42 +02:00
3930615104 Bugfix: sizeof(destpath)-1 to have space for the trailing NUL (Thanks Merovius) 2013-06-10 23:08:17 +02:00
d51173b2ba i3-nagbar: take our terminal execution kludge to the next level
Please read commit 2bf80528bd first.
Then read the comment within the code of this commit.
Then run in circles and cry loudly.

fixes #1002
fixes #1026
2013-06-10 22:55:39 +02:00