Commit Graph

297 Commits

Author SHA1 Message Date
945632ddcb Implement setting the WM_NAME of i3 container windows for debugging 2010-11-14 16:41:46 +01:00
a415d56048 parser: return a proper JSON reply on parse errors 2010-11-14 01:45:05 +01:00
7c6f2dbfc6 Rendering fixes for stacking mode 2010-11-13 22:39:59 +01:00
4cd6dd0303 port fernando’s custom background color patch 2010-11-13 20:07:49 +01:00
dc10c67060 Bugfix: Close containers which are empty due to a move (Thanks fernando) 2010-11-13 14:55:11 +01:00
432073dbe5 implement support for WM_TRANSIENT_FOR, expand testcase 2010-11-13 01:19:21 +01:00
ad9be5402a Implement support for WM_CLIENT_LEADER 2010-11-12 23:46:03 +01:00
8f7bd538d8 implement configure requests, adapt testcase
testcase does not pass 100% due to clients not being reparented correctly yet.
2010-11-12 21:41:10 +01:00
6eb7f2a01d lexer/parser: implement 'border' command 2010-11-12 18:41:54 +01:00
c6c084faa5 don’t close workspaces which are still visible (multi-monitor) 2010-11-12 17:34:13 +01:00
5c2758af26 Implement support for size hints (including test case) 2010-10-11 21:32:29 +02:00
0925e8b7dc Implement sticky windows
The implementation works like this:
Containers can have a 'sticky-group' attribute. Imagine two different
containers (on two different workspaces) which have the same sticky-group.
Now you open a window in the first container. When you switch to the
other workspace, the window will be re-assigned to the other container.

An obvious problem which is not covered with the code at the moment is
having two containers with the same sticky-group visible at the same time.
2010-09-01 18:11:01 +02:00
160c12ed9a recognize dock windows (and support matching them) 2010-08-15 12:18:27 +02:00
0411299e4c fix typo 2010-08-15 12:18:05 +02:00
d066341261 ipc/parser: commands can now return custom JSON replies
Also, finally add include/cmdparse.h
2010-07-17 15:15:37 +02:00
099df7f438 Bugfix: Keep focus on the current workspace when moving containers, add testcase 2010-07-17 13:27:34 +02:00
69e5c0f6ce Treat stacking containers as if they are in vertical orientation, add testcase 2010-07-17 01:27:47 +02:00
7415f14448 Add more documentation to functions/header files 2010-07-13 11:35:05 +02:00
a79d33fc7f Remove some dead code (to be re-implemented), rename nc.c to main.c 2010-07-11 22:12:25 +02:00
6d152103f5 parser: implement move 2010-06-30 22:23:32 +02:00
c33d352fd2 floating: re-implement floating_modifier + left/right mouse button to drag/resize 2010-06-28 22:23:32 +02:00
69e1975e29 split up toggle_floating_mode into floating_enable and floating_disable 2010-06-28 21:40:17 +02:00
6897e15e72 Implement mark/goto, modify testcase 2010-06-02 23:32:05 +02:00
32be3af109 Re-implement support for the urgency hint, extend t/13-urgent.t
The actual rendering will follow
2010-06-02 17:55:10 +02:00
b467242d69 Make splitting a container which was already split a noop 2010-06-01 22:45:18 +02:00
246d4627be re-enable sending fake configure notifies 2010-05-31 23:00:36 +02:00
e67c712f31 cleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type 2010-05-31 00:11:11 +02:00
2d52ecf071 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).
2010-05-15 00:16:59 +02:00
b0f47b25a0 throw out some old code from manage.c, cleanups 2010-04-17 18:26:46 +02:00
42bed06b9a include match.h in all.h 2010-04-17 17:47:07 +02:00
7f3a77ac6a loglevel bitmasks needs to be larger because we got more than 32 files 2010-04-17 17:46:11 +02:00
b93413ca49 remove old fullscreen code 2010-04-17 17:43:50 +02:00
6bf55dc356 implement con_toggle_fullscreen 2010-04-17 17:40:41 +02:00
c4d87e2f81 handle destroynotify events 2010-04-17 17:27:53 +02:00
68542f3c22 When assigning children to containers, reset their x window state 2010-04-17 16:41:20 +02:00
c56867792a handle client messages (fullscreen window state) 2010-04-17 13:54:45 +02:00
77ec4219c9 make floating an enum (we need three states, not only two) 2010-04-16 22:57:21 +02:00
8d05039b04 move match_* to match.c 2010-04-16 22:51:25 +02:00
e0b7ae872e move con_focus to con.c 2010-04-16 21:04:36 +02:00
93600ce0fd implement con_id for matching containers, extend testcase 2010-04-16 15:30:07 +02:00
769501420d add first version of a new flex/bison based command parser 2010-04-14 20:26:56 +02:00
24725cd94a re-add fullscreen mode 2010-04-13 20:51:43 +02:00
8959c5005f cleanups 2010-04-13 19:33:40 +02:00
8e5a831e27 re-add focus follows mouse handling 2010-04-13 18:43:37 +02:00
eec762ea8f more reformatting/cleanups 2010-04-13 17:52:23 +02:00
dd7acf73e9 re-add support for legacy window titles (WM_NAME) 2010-04-13 17:46:54 +02:00
fd8735a6fd correctly update/display window title/class 2010-04-13 17:22:34 +02:00
c145f7e529 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.
2010-04-13 13:17:39 +02:00
a542515f9e Fix memory leaks 2010-03-26 01:52:39 +01:00
46e7cf5fe1 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).
2010-03-24 16:52:16 +01:00