]> git.sur5r.net Git - i3/i3/log
i3/i3
14 years agoImplement mode toggle
Michael Stapelberg [Mon, 31 May 2010 20:48:28 +0000 (22:48 +0200)]
Implement mode toggle

14 years agocleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type
Michael Stapelberg [Sun, 30 May 2010 22:11:11 +0000 (00:11 +0200)]
cleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type

14 years agoUpdate _NET_WM_STATE after fullscreen state changes
Michael Stapelberg [Wed, 26 May 2010 21:21:37 +0000 (23:21 +0200)]
Update _NET_WM_STATE after fullscreen state changes

14 years agoSet up _NET_WM_SUPPORTED and window manager name again
Michael Stapelberg [Fri, 14 May 2010 22:28:10 +0000 (00:28 +0200)]
Set up _NET_WM_SUPPORTED and window manager name again

This fixes MPlayer fullscreen mode

14 years agoAdd parameter to reparent windows instead of killing them when closing a container
Michael Stapelberg [Fri, 14 May 2010 22:16:59 +0000 (00:16 +0200)]
Add parameter to reparent windows instead of killing them when closing a container

Necessary because when windows are unmapped, they are not necessary to
be killed (an application can unmap it temporarily).

14 years agore-render the three after calling parse_cmd
Michael Stapelberg [Fri, 14 May 2010 21:41:17 +0000 (23:41 +0200)]
re-render the three after calling parse_cmd

14 years agoIgnore UnmapNotify events generated by reparenting
Michael Stapelberg [Fri, 14 May 2010 21:37:56 +0000 (23:37 +0200)]
Ignore UnmapNotify events generated by reparenting

14 years agouse the new parser for handling keybindings
Michael Stapelberg [Tue, 11 May 2010 21:04:47 +0000 (23:04 +0200)]
use the new parser for handling keybindings

14 years agogrammar: s/layout_mode/window_mode
Michael Stapelberg [Tue, 11 May 2010 21:04:21 +0000 (23:04 +0200)]
grammar: s/layout_mode/window_mode

14 years agoImplement 'restore' in new parser
Michael Stapelberg [Tue, 11 May 2010 21:00:31 +0000 (23:00 +0200)]
Implement 'restore' in new parser

14 years agoimplement 'move' command in the new parser
Michael Stapelberg [Tue, 11 May 2010 20:46:49 +0000 (22:46 +0200)]
implement 'move' command in the new parser

14 years agoImplement exec, exit, level, restart (without testcases for now)
Michael Stapelberg [Mon, 10 May 2010 08:12:35 +0000 (10:12 +0200)]
Implement exec, exit, level, restart (without testcases for now)

14 years agoImplement 'split'
Michael Stapelberg [Mon, 10 May 2010 07:33:10 +0000 (09:33 +0200)]
Implement 'split'

14 years agoImplement 'prev', extend testcase
Michael Stapelberg [Mon, 10 May 2010 07:08:31 +0000 (09:08 +0200)]
Implement 'prev', extend testcase

14 years agoimplement 'next' in the new command parser (testcase unfinished)
Michael Stapelberg [Sun, 9 May 2010 22:06:24 +0000 (00:06 +0200)]
implement 'next' in the new command parser (testcase unfinished)

14 years agobugfix: really return focus list in IPC tree dump (instead of nodes list)
Michael Stapelberg [Sun, 9 May 2010 22:00:43 +0000 (00:00 +0200)]
bugfix: really return focus list in IPC tree dump (instead of nodes list)

14 years agoalso re-render the tree for commands using the new parser
Michael Stapelberg [Sun, 9 May 2010 21:24:03 +0000 (23:24 +0200)]
also re-render the tree for commands using the new parser

14 years agobugfix: don’t clean up workspace when switching to the same workspace
Michael Stapelberg [Sun, 9 May 2010 21:20:49 +0000 (23:20 +0200)]
bugfix: don’t clean up workspace when switching to the same workspace

14 years agoMakefile: only enable when -freorder-blocks-and-partition when DEBUG != 1
Michael Stapelberg [Sun, 9 May 2010 20:45:21 +0000 (22:45 +0200)]
Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1

…otherwise you don’t see variables in gdb

14 years agoless boilerplate by using Test::Kit and -It/lib in Makefile
Michael Stapelberg [Sat, 17 Apr 2010 20:49:26 +0000 (22:49 +0200)]
less boilerplate by using Test::Kit and -It/lib in Makefile

14 years agomake testcases use AnyEvent::I3
Michael Stapelberg [Sat, 27 Mar 2010 14:20:38 +0000 (15:20 +0100)]
make testcases use AnyEvent::I3

14 years agoimplement 'fullscreen' command
Michael Stapelberg [Sat, 17 Apr 2010 17:29:44 +0000 (19:29 +0200)]
implement 'fullscreen' command

14 years agomake the fullscreen testcase test the 'fullscreen' command, too
Michael Stapelberg [Sat, 17 Apr 2010 17:29:27 +0000 (19:29 +0200)]
make the fullscreen testcase test the 'fullscreen' command, too

14 years agothrow out some old code from manage.c, cleanups
Michael Stapelberg [Sat, 17 Apr 2010 16:26:46 +0000 (18:26 +0200)]
throw out some old code from manage.c, cleanups

14 years agoinclude match.h in all.h
Michael Stapelberg [Sat, 17 Apr 2010 15:47:07 +0000 (17:47 +0200)]
include match.h in all.h

14 years agologlevel bitmasks needs to be larger because we got more than 32 files
Michael Stapelberg [Sat, 17 Apr 2010 15:46:11 +0000 (17:46 +0200)]
loglevel bitmasks needs to be larger because we got more than 32 files

14 years agoremove old fullscreen code
Michael Stapelberg [Sat, 17 Apr 2010 15:43:50 +0000 (17:43 +0200)]
remove old fullscreen code

14 years agoimplement con_toggle_fullscreen
Michael Stapelberg [Sat, 17 Apr 2010 15:40:41 +0000 (17:40 +0200)]
implement con_toggle_fullscreen

14 years agoextend fullscreen testcase
Michael Stapelberg [Sat, 17 Apr 2010 15:40:19 +0000 (17:40 +0200)]
extend fullscreen testcase

14 years agohandle destroynotify events
Michael Stapelberg [Sat, 17 Apr 2010 15:27:53 +0000 (17:27 +0200)]
handle destroynotify events

14 years agopush X11 changes after a window is mapped
Michael Stapelberg [Sat, 17 Apr 2010 14:43:34 +0000 (16:43 +0200)]
push X11 changes after a window is mapped

14 years agoWhen assigning children to containers, reset their x window state
Michael Stapelberg [Sat, 17 Apr 2010 14:41:20 +0000 (16:41 +0200)]
When assigning children to containers, reset their x window state

14 years agoput container in fullscreen mode if the fullscreen state is set when mapping
Michael Stapelberg [Sat, 17 Apr 2010 12:21:34 +0000 (14:21 +0200)]
put container in fullscreen mode if the fullscreen state is set when mapping

14 years agohandle client messages (fullscreen window state)
Michael Stapelberg [Sat, 17 Apr 2010 11:54:45 +0000 (13:54 +0200)]
handle client messages (fullscreen window state)

14 years agoextend t/02-fullscreen.t
Michael Stapelberg [Sat, 17 Apr 2010 11:53:41 +0000 (13:53 +0200)]
extend t/02-fullscreen.t

14 years agoadd testcase for multiple commands (and whitespace variations)
Michael Stapelberg [Sat, 17 Apr 2010 10:58:36 +0000 (12:58 +0200)]
add testcase for multiple commands (and whitespace variations)

14 years agoclear current_match when dropping state
Michael Stapelberg [Sat, 17 Apr 2010 10:57:06 +0000 (12:57 +0200)]
clear current_match when dropping state

14 years agoadd test for the match functionality in the new parser
Michael Stapelberg [Fri, 16 Apr 2010 21:04:42 +0000 (23:04 +0200)]
add test for the match functionality in the new parser

14 years agomake floating an enum (we need three states, not only two)
Michael Stapelberg [Fri, 16 Apr 2010 20:57:21 +0000 (22:57 +0200)]
make floating an enum (we need three states, not only two)

14 years agomove match_* to match.c
Michael Stapelberg [Fri, 16 Apr 2010 20:51:25 +0000 (22:51 +0200)]
move match_* to match.c

14 years agocheck for empty matches
Michael Stapelberg [Fri, 16 Apr 2010 20:50:20 +0000 (22:50 +0200)]
check for empty matches

14 years agomove con_focus to con.c
Michael Stapelberg [Fri, 16 Apr 2010 19:04:36 +0000 (21:04 +0200)]
move con_focus to con.c

14 years agobetter debug messages
Michael Stapelberg [Fri, 16 Apr 2010 19:02:34 +0000 (21:02 +0200)]
better debug messages

14 years agoupdate t/16* for data structure
Michael Stapelberg [Fri, 16 Apr 2010 19:01:08 +0000 (21:01 +0200)]
update t/16* for data structure

14 years agoclean up old workspace when switching (makes test 2 of t/16-*.t pass)
Michael Stapelberg [Fri, 16 Apr 2010 18:59:21 +0000 (20:59 +0200)]
clean up old workspace when switching (makes test 2 of t/16-*.t pass)

14 years agoignore sequence of unmapnotify events (generates enternotify events)
Michael Stapelberg [Fri, 16 Apr 2010 18:56:49 +0000 (20:56 +0200)]
ignore sequence of unmapnotify events (generates enternotify events)

14 years agoimplement con_id for matching containers, extend testcase
Michael Stapelberg [Fri, 16 Apr 2010 13:30:07 +0000 (15:30 +0200)]
implement con_id for matching containers, extend testcase

14 years agomove common functions to i3test, export them, bail out if workspace creation fails
Michael Stapelberg [Fri, 16 Apr 2010 13:03:27 +0000 (15:03 +0200)]
move common functions to i3test, export them, bail out if workspace creation fails

14 years agoadd testcase for opening/killing containers
Michael Stapelberg [Fri, 16 Apr 2010 12:52:31 +0000 (14:52 +0200)]
add testcase for opening/killing containers

14 years agoretab!
Michael Stapelberg [Fri, 16 Apr 2010 12:34:12 +0000 (14:34 +0200)]
retab!

14 years agoadd testcase for changing workspaces
Michael Stapelberg [Fri, 16 Apr 2010 12:24:29 +0000 (14:24 +0200)]
add testcase for changing workspaces

14 years agoadd first version of a new flex/bison based command parser
Michael Stapelberg [Wed, 14 Apr 2010 18:26:56 +0000 (20:26 +0200)]
add first version of a new flex/bison based command parser

14 years agore-add fullscreen mode
Michael Stapelberg [Tue, 13 Apr 2010 18:51:43 +0000 (20:51 +0200)]
re-add fullscreen mode

14 years agoadd dump-asy.pl, renders the tree with asymptote
Michael Stapelberg [Tue, 13 Apr 2010 18:20:03 +0000 (20:20 +0200)]
add dump-asy.pl, renders the tree with asymptote

14 years agocompile with -freorder-blocks-and-partition
Michael Stapelberg [Tue, 13 Apr 2010 18:16:40 +0000 (20:16 +0200)]
compile with -freorder-blocks-and-partition

14 years agocleanups
Michael Stapelberg [Tue, 13 Apr 2010 17:33:40 +0000 (19:33 +0200)]
cleanups

14 years agore-add focus follows mouse handling
Michael Stapelberg [Tue, 13 Apr 2010 16:43:37 +0000 (18:43 +0200)]
re-add focus follows mouse handling

14 years agomore reformatting/cleanups
Michael Stapelberg [Tue, 13 Apr 2010 15:52:23 +0000 (17:52 +0200)]
more reformatting/cleanups

14 years agore-add support for legacy window titles (WM_NAME)
Michael Stapelberg [Tue, 13 Apr 2010 15:46:54 +0000 (17:46 +0200)]
re-add support for legacy window titles (WM_NAME)

14 years agocorrectly update/display window title/class
Michael Stapelberg [Tue, 13 Apr 2010 15:22:34 +0000 (17:22 +0200)]
correctly update/display window title/class

14 years agomore reformatting
Michael Stapelberg [Tue, 13 Apr 2010 14:48:42 +0000 (16:48 +0200)]
more reformatting

14 years agoworkspace.c: update header, reformat
Michael Stapelberg [Tue, 13 Apr 2010 14:43:08 +0000 (16:43 +0200)]
workspace.c: update header, reformat

14 years agocorrectly focus workspaces
Michael Stapelberg [Tue, 13 Apr 2010 14:41:23 +0000 (16:41 +0200)]
correctly focus workspaces

14 years agofirst step of the big refactoring ("tree" branch).
Michael Stapelberg [Sat, 27 Mar 2010 14:25:51 +0000 (15:25 +0100)]
first step of the big refactoring ("tree" branch).

From here on, we can track changes. It made no sense to put the
development up to this point into git.

14 years agoBugfix: null-terminate buffer
Michael Stapelberg [Fri, 26 Mar 2010 02:04:54 +0000 (03:04 +0100)]
Bugfix: null-terminate buffer

14 years agoFix memory leaks
Michael Stapelberg [Fri, 26 Mar 2010 00:52:39 +0000 (01:52 +0100)]
Fix memory leaks

14 years agorandr: Don’t enable outputs with mode 0x0
Michael Stapelberg [Fri, 26 Mar 2010 00:52:08 +0000 (01:52 +0100)]
randr: Don’t enable outputs with mode 0x0

Just a sanity check for some possibly broken drivers.

14 years agoremove newlines
Michael Stapelberg [Thu, 25 Mar 2010 23:28:30 +0000 (00:28 +0100)]
remove newlines

14 years agoBugfix: Assign all workspace to new outputs as new outputs get available (Thanks...
Michael Stapelberg [Thu, 25 Mar 2010 23:13:28 +0000 (00:13 +0100)]
Bugfix: Assign all workspace to new outputs as new outputs get available (Thanks badboy)

14 years agoBugfix: Translate keysyms to keycodes before entering mode (Thanks fallen)
Michael Stapelberg [Thu, 25 Mar 2010 20:18:46 +0000 (21:18 +0100)]
Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen)

14 years agoFix rendering of workspace names after "reload" (Thanks fallen)
Michael Stapelberg [Thu, 25 Mar 2010 18:08:37 +0000 (19:08 +0100)]
Fix rendering of workspace names after "reload" (Thanks fallen)

14 years agoBugfix: Correctly switch workspace when using the "jump" command (Thanks fallen)
Michael Stapelberg [Thu, 25 Mar 2010 17:07:40 +0000 (18:07 +0100)]
Bugfix: Correctly switch workspace when using the "jump" command (Thanks fallen)

14 years agodocs: add/cleanup references
Michael Stapelberg [Thu, 25 Mar 2010 02:26:59 +0000 (03:26 +0100)]
docs: add/cleanup references

14 years agomakefile: install i3-wsbar
Michael Stapelberg [Thu, 25 Mar 2010 02:11:31 +0000 (03:11 +0100)]
makefile: install i3-wsbar

14 years agoBugfix: Correctly check bitmask for floating_modifier
Michael Stapelberg [Thu, 25 Mar 2010 01:53:53 +0000 (02:53 +0100)]
Bugfix: Correctly check bitmask for floating_modifier

14 years agoAdd documentation for the workspace_bar option
Michael Stapelberg [Thu, 25 Mar 2010 01:47:01 +0000 (02:47 +0100)]
Add documentation for the workspace_bar option

14 years agoAdd initial version of i3-wsbar
Michael Stapelberg [Wed, 24 Mar 2010 18:13:19 +0000 (19:13 +0100)]
Add initial version of i3-wsbar

14 years agoHandle destroy notify events like unmap notify events
Michael Stapelberg [Wed, 24 Mar 2010 15:52:16 +0000 (16:52 +0100)]
Handle destroy notify events like unmap notify events

This helps for windows which are immediately destroyed instead of
unmapped, like when starting i3status | ./foobar | dzen2 -dock
and foobar does not exist (i3status and dzen2 will get a SIGPIPE).

14 years agoBugfix: fix state of keypresses in sighandler (like in i3-input)
Michael Stapelberg [Wed, 24 Mar 2010 15:10:47 +0000 (16:10 +0100)]
Bugfix: fix state of keypresses in sighandler (like in i3-input)

14 years agoBugfix: correctly translate coordinates for floating windows when outputs change
Michael Stapelberg [Wed, 24 Mar 2010 15:09:43 +0000 (16:09 +0100)]
Bugfix: correctly translate coordinates for floating windows when outputs change

14 years agoBugfix: Don’t unmap windows when current workspace gets reassigned
Michael Stapelberg [Wed, 24 Mar 2010 15:06:21 +0000 (16:06 +0100)]
Bugfix: Don’t unmap windows when current workspace gets reassigned

Steps to reproduce were:
1) xrandr --output VGA1 --auto --left-of LVDS1
2) open a terminal on VGA1
3) xrandr --output VGA1 --off

14 years agoFix numlock state
Michael Stapelberg [Wed, 24 Mar 2010 02:28:38 +0000 (03:28 +0100)]
Fix numlock state

Apparantly, after activating numlock once, the numlock modifier
stays turned on (use xev(1) to verify). So, to resolve useful
keysyms, we remove the numlock flag from the event state. What
currently does not work is actually using your keypad.

14 years agoBugfix: only restore focus if the workspace is focused, not if it is visible
Michael Stapelberg [Tue, 23 Mar 2010 13:43:35 +0000 (14:43 +0100)]
Bugfix: only restore focus if the workspace is focused, not if it is visible

14 years agoBugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen)
Michael Stapelberg [Mon, 22 Mar 2010 14:10:26 +0000 (15:10 +0100)]
Bugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen)

14 years agoremove superflous newlines (breaks asciidoc)
Michael Stapelberg [Sun, 21 Mar 2010 00:55:02 +0000 (01:55 +0100)]
remove superflous newlines (breaks asciidoc)

14 years agodocs: merge spelling and grammar fixes by sasha (Thanks!)
Michael Stapelberg [Sun, 21 Mar 2010 00:50:10 +0000 (01:50 +0100)]
docs: merge spelling and grammar fixes by sasha (Thanks!)

14 years agoipc: send a workspace event when the urgency flag changes
Michael Stapelberg [Sat, 20 Mar 2010 02:09:42 +0000 (03:09 +0100)]
ipc: send a workspace event when the urgency flag changes

14 years agoipc: also send workspace event when initializing a workspace for an output
Michael Stapelberg [Sat, 20 Mar 2010 01:56:23 +0000 (02:56 +0100)]
ipc: also send workspace event when initializing a workspace for an output

14 years agoBugfix: correctly re-assign dock clients when output goes inactive
Michael Stapelberg [Sat, 20 Mar 2010 01:52:06 +0000 (02:52 +0100)]
Bugfix: correctly re-assign dock clients when output goes inactive

14 years agoipc: implement output event
Michael Stapelberg [Fri, 19 Mar 2010 21:40:43 +0000 (22:40 +0100)]
ipc: implement output event

14 years agoipc: implement GET_OUTPUTS
Michael Stapelberg [Fri, 19 Mar 2010 21:24:52 +0000 (22:24 +0100)]
ipc: implement GET_OUTPUTS

14 years agoipc: include the urgent flag in the workspaces reply
Michael Stapelberg [Fri, 19 Mar 2010 21:01:21 +0000 (22:01 +0100)]
ipc: include the urgent flag in the workspaces reply

14 years agoStart dock clients on the output they request to be started on according to their...
Michael Stapelberg [Fri, 19 Mar 2010 20:44:36 +0000 (21:44 +0100)]
Start dock clients on the output they request to be started on according to their geometry

Use dzen2’s -xs option to use this, or specify the coordinates using
-x manually.

14 years agoDisable RandR if no outputs are found (Thanks fallen)
Michael Stapelberg [Fri, 19 Mar 2010 17:51:19 +0000 (18:51 +0100)]
Disable RandR if no outputs are found (Thanks fallen)

14 years agoBugfix: When disabling RandR/Xinerama, give a name to the pseudo-output (Thanks fallen)
Michael Stapelberg [Fri, 19 Mar 2010 17:51:01 +0000 (18:51 +0100)]
Bugfix: When disabling RandR/Xinerama, give a name to the pseudo-output (Thanks fallen)

14 years agoUse DLOG for debug messages instead of printf (Thanks kruM)
Michael Stapelberg [Fri, 19 Mar 2010 17:48:36 +0000 (18:48 +0100)]
Use DLOG for debug messages instead of printf (Thanks kruM)

14 years agoFix compilation with the old xcb keysyms api
Michael Stapelberg [Fri, 19 Mar 2010 15:02:12 +0000 (16:02 +0100)]
Fix compilation with the old xcb keysyms api

14 years agolittle style fix for the last commit
Michael Stapelberg [Fri, 19 Mar 2010 00:43:11 +0000 (01:43 +0100)]
little style fix for the last commit

14 years agoBugfix: Take window out of fullscreen before entering floating mode.
Helgi Kristvin Sigurbjarnarson [Fri, 19 Mar 2010 00:18:25 +0000 (00:18 +0000)]
Bugfix: Take window out of fullscreen before entering floating mode.

14 years agorandr: use effective CRTC width/height, not its mode (Thanks moemoe)
Michael Stapelberg [Wed, 17 Mar 2010 14:56:26 +0000 (15:56 +0100)]
randr: use effective CRTC width/height, not its mode (Thanks moemoe)

This fixes setups which use panning and cloning.