Commit Graph

3411 Commits

Author SHA1 Message Date
Michael Stapelberg
f5a7492a11 Bugfix: Use _exit() instead of exit to avoid calling atexit functions (Thanks f8l)
Basically, this is the same fix as commit 914ca6cf :-/. Once again, we
called exit() instead of _exit(), but this time it lead to a kill(0,
SIGTERM), effectively killing all processes in the i3 process group,
including i3 itself. The cause for the kill(0) is that nagbar_pid is set
to 0 by fork(), signaling we’re in the child process. The cleanup
handler only checks for nagbar_pid being -1 as a special value, however.
2012-09-05 17:09:23 +02:00
Michael Stapelberg
ada6af4244 Merge branch 'fix-1px-flickering' 2012-09-04 22:49:12 +02:00
Michael Stapelberg
8176b55b7b Bugfix: fix flickering with 1pixel border tabbed layouts (Thanks julien)
When you have a tabbed container which has had more than one container
but currently has precisely one container, there was a bit of flickering
when switching workspaces occasionally. This commit fixes it by properly
setting the height of the deco_rect (and thus the X11 window) to not
make the old window contents show up for a minimum period of time.

fixes #777
2012-09-04 22:47:12 +02:00
Michael Stapelberg
562c53d66c Merge branch 'fix-fullscreen-confreq' 2012-09-04 20:21:22 +02:00
Michael Stapelberg
5b95e20a62 Bugfix: Don’t allow ConfigureRequests while in fullscreen (Thanks Piotr)
This fixes a compatibility issue with gnome-terminal and xfce’s
terminal, where fullscreening would lead to moving the window and not
displaying the contents properly.

fixes #788
2012-09-04 20:21:07 +02:00
Michael Stapelberg
2ac3b08cf6 Merge branch 'floating-resize-height' 2012-08-22 16:01:57 +02:00
Joel Stemmer
1089b0b201 fix resizing floating windows by height
When resizing floating windows, changing the height was not correctly
handled. This commit fixes that and adds testcases for shrinking and
growing the width and height of floating windows.
2012-08-22 16:01:40 +02:00
Michael Stapelberg
c5cfe22511 Merge branch 'fix-coords' 2012-08-04 16:09:46 +02:00
Michael Stapelberg
74510c59c7 floating_fix_coordinates: properly deal with negative positions 2012-08-04 16:09:16 +02:00
Michael Stapelberg
d57d51da6d Bugfix: Properly fix floating coordinates when disabling outputs (Thanks Tucos)
Since the content containers are not yet updated (they will be when
rendering), we need to use the output containers’s rects instead.
2012-08-04 16:09:16 +02:00
Michael Stapelberg
e867fd8105 Bugfix: fix floating coordinates when moving assigned workspaces 2012-08-04 16:09:10 +02:00
Michael Stapelberg
e36674c5b8 Fix a crash when the current output cannot be determined (Thanks Tucos)
This is only a cosmetical change though, the fix for the root cause can
be found in the commits following this one.
2012-08-04 15:19:11 +02:00
Michael Stapelberg
fbff593f1e Merge branch 'fix-resize-retcode' 2012-07-22 21:25:53 +02:00
Michael Stapelberg
83dc5d5cb6 Bugfix: Fix duplicate return value for 'resize' command 2012-07-22 21:25:38 +02:00
Michael Stapelberg
167b38b184 Merge branch 'fix-yajl1-warnings' 2012-07-16 19:24:33 +02:00
Michael Stapelberg
8f2e225db9 i3bar: Fix warnings with libyajl1 (Thanks prg)
yajl1 has the status yajl_status_insufficient_data, which in our stream
parsing context basically means "ok". Therefore, in yajl1, we no longer
print an error in this case.
2012-07-16 19:23:37 +02:00
Michael Stapelberg
f989467184 Merge branch 'fix-empty-strings' 2012-07-11 19:06:17 +02:00
Marcel Hellwig
3daa3e052f Don't display empty strings from i3status in i3bar 2012-07-11 19:06:02 +02:00
Michael Stapelberg
9b74f2de11 Merge branch 'i3bar-tray' 2012-07-10 22:53:36 +02:00
Michael Stapelberg
8a3574f301 i3bar: inform _all_ clients of new tray selection owner
This fixes a problem with X-chat (and possibly others).

Fixes: #745
2012-07-10 22:52:14 +02:00
Michael Stapelberg
3fe3fdd2f9 Merge branch 'fix-reload' 2012-06-27 17:49:19 +02:00
Michael Stapelberg
6e9bbe67ce Bugfix: fix reload crashes in rare cases (Thanks Tucos)
Depending on the memory layout, it could happen that bind->command was
exchanged with something else while the parser still accessed it.

Therefore, we now copy the command and let the parser use that copy.
2012-06-27 17:48:22 +02:00
Michael Stapelberg
28d453a276 Merge branch 'fix-C' 2012-06-25 21:44:07 +02:00
Michael Stapelberg
6146f39b8a when using i3 -C, don’t send remaining arguments via IPC (Thanks Somelauw) 2012-06-25 21:43:41 +02:00
Michael Stapelberg
27a5cceb61 Merge branch 'gitignore' 2012-06-24 21:22:39 +02:00
stfn
7374633422 Fix up .gitignore 2012-06-24 21:22:26 +02:00
Michael Stapelberg
421fd9a772 Merge branch 'userguide-containers' 2012-06-24 17:30:39 +02:00
Michael Stapelberg
453cc68e40 add section about implicit containers to the userguide (Thanks mloskot) 2012-06-24 17:30:18 +02:00
Michael Stapelberg
1ad6eea4a8 userguide: make the default clear for focus_follows_mouse and new_window 2012-06-10 21:30:14 +02:00
Michael Stapelberg
67c425ad97 Merge branch 'i3bar-handle-negative' 2012-06-10 21:05:44 +02:00
Michael Stapelberg
599f7cc2a4 i3bar: handle clicks with negative coordinates (Thanks Julian)
This can happen if you move your mouse pointer to the very left of the
screen and then click. For better usability, we handle this edge case
like a click on pixel 0.
2012-06-10 21:04:51 +02:00
Michael Stapelberg
3587155c47 makefile: don’t try to install i3.welcome 2012-06-10 18:31:42 +02:00
Michael Stapelberg
21a5d4f4c1 manpages: don’t build i3-wsbar(1) from pod 2012-06-10 18:24:44 +02:00
Michael Stapelberg
5e735744ce also don’t ship GOALS 2012-06-10 18:23:20 +02:00
Michael Stapelberg
09da8a27cb don’t ship i3.welcome and i3-wsbar in the tarballs anymore 2012-06-10 18:21:06 +02:00
Michael Stapelberg
65f88f431d add banner.svg to contrib/ 2012-06-10 18:19:17 +02:00
Michael Stapelberg
a27ee11d89 add sticker SVG to contrib/ 2012-06-10 18:18:58 +02:00
Michael Stapelberg
318b1fa2e2 add slides from 2012-03-16 (German) 2012-06-10 18:17:02 +02:00
Michael Stapelberg
6c5f938699 delete unused/outdated i3.welcome 2012-06-10 18:16:02 +02:00
Michael Stapelberg
0859f61cd0 delete GOALS, see website instead 2012-06-10 18:14:39 +02:00
Michael Stapelberg
2731a74edd delete render-tree (unfinished/unused) 2012-06-10 18:12:05 +02:00
Michael Stapelberg
b704238cf6 Introduce contrib/
contrib is a place for scripts which live in the i3 git repository
because they are closely related. However, they should not be shipped
with the distribution packages for example.
2012-06-10 18:10:37 +02:00
Michael Stapelberg
6dc69bbd00 delete old release notes 2012-06-10 18:08:14 +02:00
Michael Stapelberg
f4a86d9eda Merge branch 'fix-split-horiz' 2012-06-10 17:57:06 +02:00
Michael Stapelberg
f0b56c5e98 parser: reorder v/h/vertical/horizontal
This eliminates an error message upon split horizontal which did not
occur in older i3 versions. The command itself worked just fine.
2012-06-10 17:56:28 +02:00
Michael Stapelberg
807d2288b6 Merge branch 'use-xkb-kc2ks' 2012-05-30 17:27:18 +02:00
David Coppa
7a67938f3c Replace deprecated XKeycodeToKeysym() with XkbKeycodeToKeysym() 2012-05-30 17:24:43 +02:00
Michael Stapelberg
24b1fcfd1a Merge branch 'tests-focus-parent-child' 2012-05-28 23:37:22 +02:00
Fernando Tarlá Cardoso Lemos
485871ffdd Get rid of references to level up/down.
In v4 syntax, that's focus parent/child.
2012-05-28 23:37:15 +02:00
Michael Stapelberg
04b5ec8165 Merge branch 'fix-keycodes' 2012-05-18 09:14:34 +02:00