]>
git.sur5r.net Git - i3/i3/log
Michael Stapelberg [Tue, 7 Apr 2009 17:02:07 +0000 (19:02 +0200)]
Put documentation for each function in the header files, doxygen-compatible
Thanks to psychoschlumpf for the hint. Having comments in the headers
makes it easier to get the big picture when not being interested in the
source.
The doxygen file extracts as much as it can into HTML files. Please note
that this is not official/supported documentation, but rather being nice
to people who have to/want to use doxygen (I don’t).
Let me paste the header of the doxygen file:
You can use this file with doxygen to create a pseudo-documentation
automatically from source. doxygen-comments are not used very extensively
in i3, mostly for the reason that it clutters the source code and has no
real use (doxygen’s output looks really ugly).
So, if you want to use it, here you go. This is however not a supported
document, and I recommend you have a look at the docs/ folder or at
http://i3.zekjur.net/ for more, real documentation.
Michael Stapelberg [Tue, 7 Apr 2009 14:48:42 +0000 (16:48 +0200)]
Bugfix: Set focus to the client which was previously focused instead of the next client when moving windows
This fixes ticket #21
Michael Stapelberg [Wed, 1 Apr 2009 10:50:42 +0000 (12:50 +0200)]
Bugfix: Don’t set focus if it is not necessary.
This fixes ticket #13
Michael Stapelberg [Wed, 1 Apr 2009 10:31:13 +0000 (12:31 +0200)]
Implement scrolling on stack windows and on the bar. This implements ticket #18
Michael Stapelberg [Wed, 1 Apr 2009 10:02:22 +0000 (12:02 +0200)]
Bugfix: Correctly remove client from container when moving to another workspace
This fixes ticket #16
Michael Stapelberg [Wed, 1 Apr 2009 09:51:11 +0000 (11:51 +0200)]
Remove comment as popup menus in dzen2 get triggered by enter notify and focus is not needed
Michael Stapelberg [Tue, 31 Mar 2009 17:17:31 +0000 (19:17 +0200)]
Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs)
Michael Stapelberg [Mon, 30 Mar 2009 06:27:53 +0000 (08:27 +0200)]
Bugfix: Don’t free xinerama-reply if it is NULL, implement FREE()-macro (Thanks Igor)
Michael Stapelberg [Sun, 29 Mar 2009 16:44:01 +0000 (18:44 +0200)]
Debian package fixes (use ${misc:Depends}, close ITP, call dh_strip, correct spelling of metapackage)
Michael Stapelberg [Fri, 27 Mar 2009 14:24:52 +0000 (15:24 +0100)]
Bugfix: Correctly filter out the numlock state bit (doesn’t get cleared for some reason)
This fixes ticket #14
Michael Stapelberg [Thu, 26 Mar 2009 22:00:26 +0000 (23:00 +0100)]
Bugfix: When entering a stack window with the mouse, set the focus to the active client
Fixes ticket #17
Michael Stapelberg [Sun, 22 Mar 2009 22:47:20 +0000 (23:47 +0100)]
Website: Sitemap should contain URLs without redirects
Michael Stapelberg [Sat, 21 Mar 2009 00:18:38 +0000 (01:18 +0100)]
Fix robots.txt
Michael Stapelberg [Fri, 20 Mar 2009 16:31:34 +0000 (17:31 +0100)]
Bugfix: Fix memory leak
Michael Stapelberg [Wed, 18 Mar 2009 09:03:06 +0000 (10:03 +0100)]
Add sitemap.xml
Michael Stapelberg [Wed, 18 Mar 2009 08:59:00 +0000 (09:59 +0100)]
Add meta tags to header
Michael Stapelberg [Wed, 18 Mar 2009 08:47:12 +0000 (09:47 +0100)]
website: Add robots.txt, Link bugtracker
Michael Stapelberg [Mon, 16 Mar 2009 08:59:00 +0000 (09:59 +0100)]
Add description to screenshot
Michael Stapelberg [Mon, 16 Mar 2009 08:57:37 +0000 (09:57 +0100)]
Add screenshots to website
Michael Stapelberg [Mon, 16 Mar 2009 07:18:52 +0000 (08:18 +0100)]
Update manpage
Michael Stapelberg [Sun, 15 Mar 2009 22:42:08 +0000 (23:42 +0100)]
website: Link GPG-signature
Michael Stapelberg [Sun, 15 Mar 2009 22:40:08 +0000 (23:40 +0100)]
Fix makefile to replace git-versions so tarball works without git
Michael Stapelberg [Sun, 15 Mar 2009 22:28:56 +0000 (23:28 +0100)]
Update debian changelog
Michael Stapelberg [Sun, 15 Mar 2009 22:27:03 +0000 (23:27 +0100)]
Update download page for release of 3.α
Michael Stapelberg [Sun, 15 Mar 2009 22:15:16 +0000 (23:15 +0100)]
Cleanup makefiles, add version to i3 -v and i3 startup
Michael Stapelberg [Sun, 15 Mar 2009 20:31:35 +0000 (21:31 +0100)]
Disable horizontal resizing for the release version, it still has bugs
Michael Stapelberg [Sun, 15 Mar 2009 20:13:15 +0000 (21:13 +0100)]
Bugfix: re-decorate old client when switching screens
Michael Stapelberg [Sun, 15 Mar 2009 19:52:43 +0000 (20:52 +0100)]
Bugfix: Only actively change focus if this is the current container
Michael Stapelberg [Sun, 15 Mar 2009 16:49:25 +0000 (17:49 +0100)]
Implement clicking on the bar to switch workspaces
Michael Stapelberg [Sun, 15 Mar 2009 16:35:16 +0000 (17:35 +0100)]
Bugfix: Fix rounding problems when positioning proportional windows
Michael Stapelberg [Sun, 15 Mar 2009 11:24:49 +0000 (12:24 +0100)]
Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints which were set before mapping
Michael Stapelberg [Sat, 14 Mar 2009 21:09:36 +0000 (22:09 +0100)]
Implement kill-command to kill the current window, document it
Michael Stapelberg [Sat, 14 Mar 2009 20:31:22 +0000 (21:31 +0100)]
Implement exit command, document it in manpage, add it to defaultconfig (Mod1+Shift+e)
Michael Stapelberg [Sat, 14 Mar 2009 17:55:47 +0000 (18:55 +0100)]
Add docbook-xml as build dependency, revert last commit
Michael Stapelberg [Sat, 14 Mar 2009 17:45:55 +0000 (18:45 +0100)]
Add -L to not invoke xmllint which fails on some systems because it can’t download the DTD
Michael Stapelberg [Sat, 14 Mar 2009 16:37:11 +0000 (17:37 +0100)]
Send configure notify after putting a client into fullscreen mode, log at a central place
Michael Stapelberg [Sat, 14 Mar 2009 16:12:11 +0000 (17:12 +0100)]
Update „Building i3 on Ubuntu 9.04” howto
Michael Stapelberg [Sat, 14 Mar 2009 00:51:01 +0000 (01:51 +0100)]
Add imprint to the website for compliance with german law.
Michael Stapelberg [Sat, 14 Mar 2009 00:30:37 +0000 (01:30 +0100)]
Add file PACKAGE-MAINTAINERS with hints for package maintainers
Michael Stapelberg [Sat, 14 Mar 2009 00:26:09 +0000 (01:26 +0100)]
Update the overview of default bindings
Michael Stapelberg [Sat, 14 Mar 2009 00:21:51 +0000 (01:21 +0100)]
Fix errors in i3.config, update manpage
Michael Stapelberg [Sat, 14 Mar 2009 00:15:54 +0000 (01:15 +0100)]
Update website (menu, links to the documentation, manpage online)
Michael Stapelberg [Fri, 13 Mar 2009 10:20:21 +0000 (11:20 +0100)]
Remove unused variable (fixes warning)
Michael Stapelberg [Fri, 13 Mar 2009 04:08:42 +0000 (05:08 +0100)]
Update build-dependencies for debian
Michael Stapelberg [Fri, 13 Mar 2009 03:51:17 +0000 (04:51 +0100)]
Fix fullscreen for xpdf (at least on debian, with proper _NET_WM_STATE hints)
xpdf sets the _NET_WM_STATE before actually mapping the window. i3 only checked
for changes of this hint, but not if it is already set when intially managing
the window.
Note that you need to patch your xpdf to support _NET_WM_STATE, because, while
only being reported at 2004, upstream still did not merge the patch *grrr*
See this debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247602
Or directly download the patch from:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=61;filename=31_fullscreen.dpatch;att=1;bug=247602
Michael Stapelberg [Fri, 13 Mar 2009 03:51:09 +0000 (04:51 +0100)]
Fix compilation
Michael Stapelberg [Thu, 12 Mar 2009 23:39:16 +0000 (00:39 +0100)]
Fake more configure notifies (makes xpdf work better)
Michael Stapelberg [Thu, 12 Mar 2009 16:56:03 +0000 (17:56 +0100)]
More example code
Michael Stapelberg [Thu, 12 Mar 2009 16:19:19 +0000 (17:19 +0100)]
Add some code to the presentation
Michael Stapelberg [Thu, 12 Mar 2009 15:44:44 +0000 (16:44 +0100)]
Bugfix: Completely ignore legacy hints as soon as the client uses _NET_WM_NAME
Michael Stapelberg [Thu, 12 Mar 2009 03:37:05 +0000 (04:37 +0100)]
Add slides for presentation at NoName e.V.
Michael Stapelberg [Wed, 11 Mar 2009 23:25:28 +0000 (00:25 +0100)]
Add website for i3lock
Michael Stapelberg [Wed, 11 Mar 2009 21:49:41 +0000 (22:49 +0100)]
Update debian/ to build a meta-package for i3
Michael Stapelberg [Wed, 11 Mar 2009 21:21:50 +0000 (22:21 +0100)]
Move i3lock in its own repository
Michael Stapelberg [Wed, 11 Mar 2009 20:31:54 +0000 (21:31 +0100)]
Handle legacy window titles by rendering them not unicode-compatible.
Michael Stapelberg [Wed, 11 Mar 2009 19:06:30 +0000 (20:06 +0100)]
Implement cleaning up the list of ignored events
Michael Stapelberg [Wed, 11 Mar 2009 18:39:32 +0000 (19:39 +0100)]
Fix misnomer (window_type_handler → handle_window_type), resolve TODO
Michael Stapelberg [Wed, 11 Mar 2009 18:09:17 +0000 (19:09 +0100)]
Update config to use i3menu on Mod1+p, update Makefile to compile/install i3lock and i3menu
Michael Stapelberg [Wed, 11 Mar 2009 18:03:24 +0000 (19:03 +0100)]
Move i3lock to src/i3lock, import dmenu-3.9 as i3menu
Michael Stapelberg [Wed, 11 Mar 2009 17:56:31 +0000 (18:56 +0100)]
Implement moving containers, implement moving windows to the top if top-most, change config to use Mod3
Michael Stapelberg [Wed, 11 Mar 2009 00:55:10 +0000 (01:55 +0100)]
Implement moving clients to the left if they are leftmost
Michael Stapelberg [Tue, 10 Mar 2009 23:56:39 +0000 (00:56 +0100)]
Bugfix: Redecorate the last focused window of the container we are switching into
Michael Stapelberg [Tue, 10 Mar 2009 23:45:49 +0000 (00:45 +0100)]
Bugfix: Don’t handle mouse click events inside the titlebar
Michael Stapelberg [Tue, 10 Mar 2009 23:20:56 +0000 (00:20 +0100)]
Bugfix: Change the event mask to ignore enter notifies when rendering the layout and changing workspaces
Michael Stapelberg [Tue, 10 Mar 2009 19:56:25 +0000 (20:56 +0100)]
Bugfix: Eliminate race condition, fix dock windows
There was a race condition when mapping a window and not setting the event mask
before. Therefore, the ReparentNotify and (more important) the UnmapNotify generated
by reparenting were not received, thus leaving the awaiting_useless_unmap variable
of the client "true". To just make it work, in previous commits the DestroyNotify
handler was introduced. Fortunately, with fixing this race condition by first
setting the event mask and mapping the window afterwards, we can remove this handler.
As for the dock windows, there were quite some occurences were client->container
was used without checking if the client is inside a container at all.
Furthermore, the client’s strut containing the space to reserve at the screen edge
is now checked and the desired height is set to the window’s height if the strut
contains 0 or if no strut was specified at all.
Michael Stapelberg [Tue, 10 Mar 2009 10:26:52 +0000 (11:26 +0100)]
Ignore notify events which are not in mode XCB_NOTIFY_MODE_NORMAL
Michael Stapelberg [Tue, 10 Mar 2009 08:51:00 +0000 (09:51 +0100)]
Fix warning (typecast)
Michael Stapelberg [Tue, 10 Mar 2009 08:46:17 +0000 (09:46 +0100)]
Remove that stupid XBell() which gets triggered falsely when resuming suspend to RAM
Michael Stapelberg [Mon, 9 Mar 2009 23:51:15 +0000 (00:51 +0100)]
Major change: Redirect events instead of handle the notifies.
By specifying XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, the window manager
will get map request events instead of map notify events, and therefore
can act sooner (the window won’t be positioned on the screen and moved
afterwards).
Furthermore, this fixes some problems with GIMP/VLC (and probably others)
which caused endless loops.
Also, events which should be ignored are now saved in a queue rather than
saving just the last event. This should eliminate race conditions.
Note that there is a new FIXME in src/handlers.c. Some windows generate
unmap notify events when reparenting while others don’t. We need to
understand, document and implement a more correct way to handle this.
Michael Stapelberg [Mon, 9 Mar 2009 17:20:15 +0000 (18:20 +0100)]
Make i3lock fork(), use white color and disable DPMS
The idea of fork()ing is to allow for aliases which first lock the screen,
then suspend.
White color and no DPMS is better than black color because you can tell the
difference between your notebook failed to suspend and it being locked.
Michael Stapelberg [Mon, 9 Mar 2009 17:15:38 +0000 (18:15 +0100)]
Import slock-0.9 as i3lock
Michael Stapelberg [Mon, 9 Mar 2009 16:50:00 +0000 (17:50 +0100)]
Fix warning
Michael Stapelberg [Mon, 9 Mar 2009 07:50:33 +0000 (08:50 +0100)]
Bugfix: Handle all events when dragging to resize, correctly set OVERRIDE_REDIRECT
Michael Stapelberg [Mon, 9 Mar 2009 07:24:05 +0000 (08:24 +0100)]
Bugfix: Draw bar at the correct position, handle expose events for bars
Michael Stapelberg [Mon, 9 Mar 2009 07:14:00 +0000 (08:14 +0100)]
Bugfix: Correctly free containers, the bug was not freeing when not moving
Michael Stapelberg [Mon, 9 Mar 2009 06:39:19 +0000 (07:39 +0100)]
Implement wrapping left/right/up/down across screens
Michael Stapelberg [Mon, 9 Mar 2009 06:18:04 +0000 (07:18 +0100)]
Update comment
Michael Stapelberg [Mon, 9 Mar 2009 06:02:47 +0000 (07:02 +0100)]
Bugfix: Use memcmp() instead of strcmp(), use new_len * 2 to check all bytes
Michael Stapelberg [Mon, 9 Mar 2009 05:49:11 +0000 (06:49 +0100)]
Bugfix: Correctly free containers when shrinking the table
Michael Stapelberg [Mon, 9 Mar 2009 05:41:04 +0000 (06:41 +0100)]
Bugfix: Don’t strcmp() if client->name == NULL
Michael Stapelberg [Mon, 9 Mar 2009 05:26:32 +0000 (06:26 +0100)]
Convert window title to UCS-2 when updating it, don’t update it if it didn’t change
Michael Stapelberg [Sun, 8 Mar 2009 20:01:06 +0000 (21:01 +0100)]
s/atomar/atomic
Michael Stapelberg [Sun, 8 Mar 2009 19:59:49 +0000 (20:59 +0100)]
Bugfix: Use a new variable called new_position and initialize it correctly when resizing
Michael Stapelberg [Sun, 8 Mar 2009 19:04:33 +0000 (20:04 +0100)]
Use -idirafter which is the same as -I but first looks at the standard system headers
As iconv(3) is in NetBSD’s libc but the GNU version can be installed to /usr/pkg, searching
/usr/pkg/include before /usr/include (standard behaviour with -I) is not a good idea.
Michael Stapelberg [Sun, 8 Mar 2009 19:04:01 +0000 (20:04 +0100)]
Fix race condition when updating client->name
Michael Stapelberg [Sun, 8 Mar 2009 18:07:33 +0000 (19:07 +0100)]
Bugfix: Use _NET_WM_NAME (UTF-8) rather than WM_NAME (COMPOUND_TEXT). Only render client titles, if they are set
Michael Stapelberg [Sun, 8 Mar 2009 16:47:45 +0000 (17:47 +0100)]
Fix the warning on SUS-compatible systems (char**) and on NetBSD (const char**)
Michael Stapelberg [Sun, 8 Mar 2009 16:30:17 +0000 (17:30 +0100)]
Fix warnings, update DEPENDS, update Makefile for NetBSD
Michael Stapelberg [Sat, 7 Mar 2009 23:51:38 +0000 (00:51 +0100)]
Update default config/manpage
Michael Stapelberg [Sat, 7 Mar 2009 23:49:11 +0000 (00:49 +0100)]
Implement UTF-8-clean window titles
Michael Stapelberg [Sat, 7 Mar 2009 16:02:17 +0000 (17:02 +0100)]
More work on hacking-howto
Michael Stapelberg [Sat, 7 Mar 2009 05:24:31 +0000 (06:24 +0100)]
Some more work on docs/hacking-howto
Michael Stapelberg [Sat, 7 Mar 2009 04:50:19 +0000 (05:50 +0100)]
Don’t start a terminal on startup
Michael Stapelberg [Sat, 7 Mar 2009 04:49:13 +0000 (05:49 +0100)]
Bugfix: Correctly place new windows while other windows are in fullscreen mode
Michael Stapelberg [Sat, 7 Mar 2009 01:44:46 +0000 (02:44 +0100)]
Fix some bugs found by using raster’s wm_torture
Michael Stapelberg [Fri, 6 Mar 2009 23:50:18 +0000 (00:50 +0100)]
Add how to hack guide, first version
Michael Stapelberg [Fri, 6 Mar 2009 18:08:59 +0000 (19:08 +0100)]
Bugfix: Correctly check for empty containers and unmap the stack_win
Michael Stapelberg [Fri, 6 Mar 2009 16:13:20 +0000 (17:13 +0100)]
Don’t set focus outside of the current container
Michael Stapelberg [Fri, 6 Mar 2009 16:07:53 +0000 (17:07 +0100)]
Bugfix: Should be workspace 10 not 0 in moving aswell
Michael Stapelberg [Fri, 6 Mar 2009 16:06:33 +0000 (17:06 +0100)]
Bugfix: Should be workspace 10 not 0