Commit Graph

5461 Commits

Author SHA1 Message Date
Michael Stapelberg 7c3e88ad93 parser: implement matching on the window id 2010-06-02 17:20:32 +02:00
Michael Stapelberg 14a312c152 more debug output 2010-06-02 17:04:26 +02:00
Michael Stapelberg 1c5adc6c35 Don’t ignore sequence in UnmapNotify, there might be multiple windows in one sequence
This would lead to i3 thinking that a new window was already managed if it
has the same X-ID as the old window. Instead, we need to fix the EnterNotify
problem in a different way.
2010-06-02 17:03:26 +02:00
Michael Stapelberg a7d2c5942a Clear event mask while reparenting
This way, we can avoid to ignore UnmapNotify events generated by reparenting.
It is generally considerable to have as little ignored events as possible
due to side-effects.
2010-06-02 17:02:10 +02:00
Michael Stapelberg c1789bef8e Include git branch name in the version string 2010-06-02 11:22:09 +02:00
Michael Stapelberg f2148ffa0b Include git branch name in the version string 2010-06-02 11:21:52 +02:00
Michael Stapelberg cea8f91e18 parser: implement 'layout' 2010-06-01 23:20:57 +02:00
Michael Stapelberg b467242d69 Make splitting a container which was already split a noop 2010-06-01 22:45:18 +02:00
Michael Stapelberg 18f7e1ffd1 t/22: extend to verify that splitting in the same direction multiple times does not create new containers 2010-06-01 22:42:32 +02:00
Michael Stapelberg 249c3f58ab t/21: formatting 2010-06-01 22:29:09 +02:00
Michael Stapelberg 0ce62a755e "Re-parent" floating clients whose old_parent is being closed (makes t/27 pass) 2010-06-01 21:36:02 +02:00
Michael Stapelberg 3aa1801392 add testcase for crash on closing floating windows whose parent was killed 2010-06-01 20:52:59 +02:00
Michael Stapelberg afa8be9547 lib/i3test: Implement get_focused 2010-06-01 20:52:22 +02:00
Michael Stapelberg 712605e69f ipc: include floating-nodes in tree reply 2010-06-01 20:50:23 +02:00
Michael Stapelberg a25dc3e988 Implement focus command (and extend t/21-next-prev.t to test it) 2010-06-01 18:49:43 +02:00
Michael Stapelberg 67a6bd5589 bugfix: allocate one more zero-byte to definitely get a zero-terminated string 2010-06-01 18:46:14 +02:00
Michael Stapelberg de0c13ba78 Add testcase which ensures that floating windows can be closed
See last commit
2010-05-31 23:17:02 +02:00
Michael Stapelberg 935b8e05ff Implement correct removal of floating containers 2010-05-31 23:16:20 +02:00
Michael Stapelberg b14fa457e7 fix: to always abort we need to assert(false) 2010-05-31 23:08:16 +02:00
Michael Stapelberg 143622d2d7 Reposition floating windows while dragging 2010-05-31 23:01:08 +02:00
Michael Stapelberg 246d4627be re-enable sending fake configure notifies 2010-05-31 23:00:36 +02:00
Michael Stapelberg 71e0e49c0e Implement mode toggle 2010-05-31 22:48:28 +02:00
Michael Stapelberg e67c712f31 cleanup: introduce CT_WORKSPACE as type to avoid having to check parent->type 2010-05-31 00:11:11 +02:00
Michael Stapelberg acc9d59e97 Bugfix: Correctly check asprintf() return value
Fixes a crash when invalid multibyte window titles are set as _NET_WM_NAME
2010-05-28 12:09:36 +02:00
Michael Stapelberg 169e541101 Bugfix: Correctly check asprintf() return value
Fixes a crash when invalid multibyte window titles are set as _NET_WM_NAME
2010-05-28 12:08:39 +02:00
Michael Stapelberg 0f83666a9c update debian packaging 2010-05-28 00:05:50 +02:00
Michael Stapelberg 162b0a9931 update debian packaging 2010-05-28 00:05:38 +02:00
Michael Stapelberg 7adfd37a12 Add documentation for external workspace bars 2010-05-27 20:21:17 +02:00
Michael Stapelberg f6227bec6c wsbar: print an error and exit after not being able to talk to i3 for 2 seconds (Thanks badboy) 2010-05-26 23:40:05 +02:00
Michael Stapelberg a45dc6b3ad Update _NET_WM_STATE after fullscreen state changes 2010-05-26 23:21:37 +02:00
Michael Stapelberg e25d9c5f55 Bugfix: Update _NET_WM_STATE when clients request changes via ClientMessage
This fixes problems with Chromium fullscreen mode
2010-05-26 23:12:36 +02:00
Michael Stapelberg 30b275d27f Bugfix: Update _NET_WM_STATE when clients request changes via ClientMessage
This fixes problems with Chromium fullscreen mode
2010-05-26 23:11:42 +02:00
Michael Stapelberg e68aa1f414 Bugfix: Don’t invert directions when resizing floating clients (top/left) (Thanks João) 2010-05-24 19:21:24 +02:00
Michael Stapelberg d0baa8c652 Bugfix: Don’t invert directions when resizing floating clients (top/left) (Thanks João) 2010-05-24 19:20:32 +02:00
Michael Stapelberg 23d7460040 Bugfix: Don’t leak file descriptors (Thanks InfraRed) 2010-05-24 00:10:09 +02:00
Michael Stapelberg 0c60ae19cb Bugfix: Don’t leak file descriptors (Thanks InfraRed) 2010-05-24 00:06:26 +02:00
Michael Stapelberg be357a1aaa Set up _NET_WM_SUPPORTED and window manager name again
This fixes MPlayer fullscreen mode
2010-05-15 00:28:10 +02:00
Michael Stapelberg 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
Michael Stapelberg def41582d1 re-render the three after calling parse_cmd 2010-05-14 23:41:17 +02:00
Michael Stapelberg 8c5d824fa8 Ignore UnmapNotify events generated by reparenting 2010-05-14 23:37:56 +02:00
Michael Stapelberg 7adf921bc3 use the new parser for handling keybindings 2010-05-11 23:04:47 +02:00
Michael Stapelberg 5eae706427 grammar: s/layout_mode/window_mode 2010-05-11 23:04:21 +02:00
Michael Stapelberg c75a6732bf Implement 'restore' in new parser 2010-05-11 23:00:31 +02:00
Michael Stapelberg a0e33c1d68 implement 'move' command in the new parser 2010-05-11 22:46:49 +02:00
Michael Stapelberg 98dbe63e35 Implement exec, exit, level, restart (without testcases for now) 2010-05-10 10:12:35 +02:00
Michael Stapelberg 6a1c34d2c5 Implement 'split' 2010-05-10 09:33:10 +02:00
Michael Stapelberg 145ebc7584 Implement 'prev', extend testcase 2010-05-10 09:08:31 +02:00
Michael Stapelberg aa52986cfe document border styles in "Border style for new windows" section (Thanks Dirkson) 2010-05-10 08:43:13 +02:00
Michael Stapelberg d8307f4b4a implement 'next' in the new command parser (testcase unfinished) 2010-05-10 00:06:24 +02:00
Michael Stapelberg f10a3d9b75 bugfix: really return focus list in IPC tree dump (instead of nodes list) 2010-05-10 00:00:43 +02:00