728 Commits

Author SHA1 Message Date
Fernando Tarlá Cardoso Lemos
556e59449c Fix possible rounding errors. 2010-09-24 15:53:01 +02:00
Fernando Tarlá Cardoso Lemos
b21d8a94e6 Support for custom bg colors for clients. 2010-09-24 15:47:40 +02:00
Stefan Schneider-Kennedy
046105ff58 Opera flash plugin no longer prevents in-page focus changing. Specifically, clicking a focussed window no longer forces set_focus. 2010-09-24 15:37:33 +02:00
Michael Stapelberg
b2eb0cd769 Use sstrdup() instead of strdup() 2010-09-22 23:11:51 +02:00
Michael Stapelberg
ff86f35f05 Bugfix: use the global root variable, don’t get the first one (Thanks quaec)
The case of an X11 server having multiple displays is handled correctly by the
code in src/mainx.c. However, due to some functions not being correctly
refactored and still getting the first screen (and also the first root window)
from the XCB connection, i3 was operating on the wrong root window.
2010-09-09 15:34:13 +02:00
Michael Stapelberg
95243d1967 Set some more atoms for _NET_SUPPORTED (Thanks lexszero) 2010-09-01 16:23:18 +02:00
Michael Stapelberg
af9cbc126c Use ELOG instead of DLOG for invalid config directives 2010-09-01 14:31:46 +02:00
Michael Stapelberg
53d6f476bc Sanity-check the stack-limit argument (limit needs to be > 0) 2010-09-01 14:31:25 +02:00
Fernando Tarlá Cardoso Lemos
5403fac512 Validate the ws number for client assignment. 2010-09-01 11:53:14 +02:00
Michael Stapelberg
b628aab7d8 Look for $SYSCONFDIR/i3/config instead of hard-coded /etc/i3/config (Thanks Don) 2010-07-31 15:04:13 +02:00
Michael Stapelberg
06da6d98e7 Bugfix: Replay unhandled pointer events (Thanks Marcus) 2010-07-31 14:59:02 +02:00
Michael Stapelberg
d60a741f78 little style fixes, part 2 2010-07-24 12:35:16 +02:00
Michael Stapelberg
6e5e2fe5ee little style fixes 2010-07-24 12:34:27 +02:00
Michael Stapelberg
a6e7894b11 Bugfix: Use scalloc to get a null-terminated string 2010-07-24 12:32:03 +02:00
Christopher Zimmermann
4d4ce82b35 don't use wordexp.h for tilde expansion
wordexp.h is not supported by OpenBSD. Therefore do tilde expansion only
via glob().
rename glob_path() to resolve_tilde() since it should not do globbing.
2010-07-24 12:23:23 +02:00
Christopher Zimmermann
63a9647a2c secure strcpy by replacing with strncpy 2010-07-24 12:14:00 +02:00
Fernando Tarlá Cardoso Lemos
9c5a8d606c Don't draw stacked decors overlapping a fs window.
When both a fullscreen window and a floating window existed at the same time,
we used to configure stack_win as a sibling of the floating window. Now we
first check if a fullscreen window exists so that the decorations are always
behind it.
2010-07-20 22:20:48 +02:00
Michael Stapelberg
ff64b0db59 Bugfix: Render decoration of single window in tabbed/stacked container (Thanks Fernando) 2010-07-11 22:23:05 +02:00
Michael Stapelberg
60e507ca6f ipc: send workspace event in workspace_initialize (Thanks fernando) 2010-06-29 14:48:19 +02:00
Michael Stapelberg
1bddd2a9cb Bugfix: Don’t crash when a dock client starts up with nonsense coordinates (Thanks dothebart)
This fixes ticket #229
2010-06-16 19:15:14 +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
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
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
0c60ae19cb Bugfix: Don’t leak file descriptors (Thanks InfraRed) 2010-05-24 00:06:26 +02:00
Blekos EelVex Kostas
aeee7d0402 bring_window_here function and command 2010-04-17 23:30:14 +02:00
Michael Stapelberg
a99fff03c3 style fixes for the last commit 2010-04-17 23:18:04 +02:00
batman
a97c876d31 added a move mode and command 2010-04-17 23:08:56 +02:00
Michael Stapelberg
dc702a023a Bugfix: correctly initialize workspaces if RandR is not available (Thanks stesie) 2010-04-06 20:52:07 +02:00
Michael Stapelberg
66d862474e resolve merge conflict 2010-03-30 13:09:00 +02:00
Michael Stapelberg
96128c9cfb Merge branch 'next' 2010-03-30 13:06:41 +02:00
Michael Stapelberg
86e196c57b Bugfix: Unset global fullscreen clients from all workspaces (Thanks Sasha) 2010-03-30 11:56:39 +02:00
Michael Stapelberg
6a7b0f9277 Bugfix: The last commit also needs to be applied to some other pieces of code (Thanks ffMeta) 2010-03-30 08:12:06 +02:00
Michael Stapelberg
6016b6333f Bugfix: Don’t render containers which are not visible upon hint changes 2010-03-29 19:18:45 +02:00
Michael Stapelberg
a6d22f005d Revert "Bugfix: Ignore enter_notify when warping pointer (makes "goto" work correctly)"
This reverts commit 7d6e80b5ef8656bf35a8dc7471d36ad64ef279fb.
Instead fix it by setting focus correctly before causig the warp.
2010-03-27 17:52:15 +01:00
Michael Stapelberg
78d4d18477 bump copyright year 2010-03-27 17:06:25 +01:00
Michael Stapelberg
7d6e80b5ef Bugfix: Ignore enter_notify when warping pointer (makes "goto" work correctly) 2010-03-27 17:04:56 +01:00
Michael Stapelberg
5e2ab5be65 bugfix: use globbed instead of filename when unlinking ipc socket 2010-03-27 15:05:16 +01:00
Michael Stapelberg
34f79416d5 ipc: change default socket path to ~/.i3/ipc.sock, enable in default config
Having the IPC socket is handy, so enable it by default. Also, if
you have > 1 user running i3 on the same machine, the old path of
/tmp/i3-ipc.sock is not so useful. On the other hand, we needed
quite a bit of changes to make tilde expansion and creation of
directories (mkdir -p) work…
2010-03-27 14:43:36 +01:00
Michael Stapelberg
2ac12eca17 Bugfix: Don’t allow fullscreen floating windows to be moved (Thanks Sasha) 2010-03-27 04:08:50 +01:00
Michael Stapelberg
ffa388f194 Bugfix: When moving fullscreen floating windows to a different workspace, correctly reposition/resize (Thanks Sasha) 2010-03-27 04:02:55 +01:00
Michael Stapelberg
112f17c690 Bugfix: Correctly ignore clicks when client is in fullscreen mode (Thanks Sasha) 2010-03-27 03:45:48 +01:00
Michael Stapelberg
41b6631f68 Bugfix: null-terminate buffer 2010-03-26 03:04:54 +01:00
Michael Stapelberg
a542515f9e Fix memory leaks 2010-03-26 01:52:39 +01:00
Michael Stapelberg
7bd4ea3699 randr: Don’t enable outputs with mode 0x0
Just a sanity check for some possibly broken drivers.
2010-03-26 01:52:08 +01:00
Michael Stapelberg
a151fd95a8 remove newlines 2010-03-26 00:28:30 +01:00
Michael Stapelberg
6fd56757f0 Bugfix: Assign all workspace to new outputs as new outputs get available (Thanks badboy) 2010-03-26 00:13:28 +01:00
Michael Stapelberg
1b8299002e Bugfix: Translate keysyms to keycodes before entering mode (Thanks fallen) 2010-03-25 21:18:46 +01:00
Michael Stapelberg
6699d54640 Fix rendering of workspace names after "reload" (Thanks fallen) 2010-03-25 19:08:37 +01:00
Michael Stapelberg
469f22caeb Bugfix: Correctly switch workspace when using the "jump" command (Thanks fallen) 2010-03-25 18:07:40 +01:00
Michael Stapelberg
2c42c0c760 Bugfix: Correctly check bitmask for floating_modifier 2010-03-25 02:53:53 +01:00