Michael Stapelberg
ef3e241b78
Bugfix: Assign BORDER_BOTTOM instead of BORDER_RIGHT (Thanks Jan)
2011-05-06 13:11:00 +02:00
Michael Stapelberg
06700c90ef
Remove dependency on xcb-event (Thanks Felicitus)
2011-05-04 19:33:43 +02:00
Michael Stapelberg
498a38ac0a
Remove dependency on xcb-property
2011-05-03 22:49:59 +02:00
Michael Stapelberg
de92142085
Fix unaligned memory access on sparc (Thanks David Coppa)
2011-04-28 21:47:14 +02:00
Michael Stapelberg
a9c0b44ce1
yajl compatibility: forgot add_subscription (Thanks badboy)
2011-04-28 20:25:57 +02:00
Michael Stapelberg
646fcc3dbc
Make code compatible with yajl 2.0 *and* 1.0
2011-04-27 20:04:34 +02:00
Michael Stapelberg
31da1eb0c1
Only send WM_TAKE_FOCUS when the client supports it in the protocols atom
...
Fixes launching xterm, for example
2011-03-18 17:26:19 +01:00
Michael Stapelberg
86117db434
Make i3 compatible with the very latest xcb
...
This involves:
• Compiling with xcb-util instead of xcb-{atom,aux} (they merged the libraries)
• Not using xcb-{event,property} anymore (code removed upstream)
• Not using the predefined WINDOW, CARDINEL, … atoms (removed upstream)
• Using the new xcb_icccm_* data types/functions instead of just xcb_*
(for example xcb_icccm_get_wm_hints instead of xcb_get_wm_hints)
Also I refactored the atoms to use x-macros.
2011-03-18 16:36:50 +01:00
Michael Stapelberg
f5afe2f67e
Send WM_TAKE_FOCUS when setting focus (fixes java problems)
2011-03-17 22:44:29 +01:00
Fernando Tarlá Cardoso Lemos
ceff1487da
Round up as well if needed (thanks Merovius).
2011-01-23 13:22:11 +01:00
Raphael Kubo da Costa
ca296c1c8b
Build fix: Explicitly include stdint.h before cfgparse.tab.h
...
cfgparse.tab.h uses uint32_t, which is defined in stdint.h.
Should fix the build of 3.ε-bf2 on FreeBSD.
Signed-off-by: Raphael Kubo da Costa <kubito@gmail.com>
2011-01-23 13:19:25 +01:00
Michael Stapelberg
53b3b1cb96
Bugfix: use bufcopy instead of buf (Thanks fernando)
2010-11-26 22:39:53 +01:00
Michael Stapelberg
ad8065e366
Bugfix: Correctly count variables when parsing the configfile (Thanks dbp)
2010-11-26 11:25:02 +01:00
Michael Stapelberg
6146ad45c9
Bugfix: Properly call init_workspaces() when RandR is known but not present
2010-10-23 17:18:59 +02:00
Michael Stapelberg
3bb963cf31
Bugfix: Don’t setup event handler when RandR base event is not set
2010-10-23 17:18:41 +02:00
Fernando Tarlá Cardoso Lemos
b1060ff938
Fixed overflow and underflow bugs when resizing.
2010-10-18 00:06:32 +02:00
Michael Stapelberg
d1e3fd192f
Bugfix: Initialize variable 'root' earlier
...
Fixes a regression introduced in commit f2896d3
(create_window(), invoked
indirectly in expand_table_{rows,cols}, uses the root variable).
2010-10-10 20:18:31 +02:00
Fernando Tarlá Cardoso Lemos
6d54b5a506
Fix possible rounding errors.
2010-09-24 15:52:04 +02:00
Fernando Tarlá Cardoso Lemos
fa3ad8be10
Support for custom bg colors for clients.
2010-09-24 15:46:57 +02:00
Stefan Schneider-Kennedy
5ed0c0a042
Opera flash plugin no longer prevents in-page focus changing. Specifically, clicking a focussed window no longer forces set_focus.
2010-09-24 15:40:05 +02:00
Michael Stapelberg
545aaa7569
Use sstrdup() instead of strdup()
2010-09-22 23:10:49 +02:00
Michael Stapelberg
f2896d34e0
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:35:48 +02:00
Fernando Tarlá Cardoso Lemos
6cf7ac7655
Validate the ws number for client assignment.
2010-09-01 11:54:07 +02:00
Michael Stapelberg
26c61850bd
Bugfix: Replay unhandled pointer events (Thanks Marcus)
2010-07-31 14:58:14 +02:00
Fernando Tarlá Cardoso Lemos
20fc7681b1
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:19:38 +02:00
Michael Stapelberg
935f950ce2
Bugfix: Render decoration of single window in tabbed/stacked container (Thanks Fernando)
2010-07-11 22:23:32 +02:00
Michael Stapelberg
2c305b5429
Bugfix: Don’t crash when a dock client starts up with nonsense coordinates (Thanks dothebart)
...
This fixes ticket #229
2010-06-16 19:16:05 +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
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
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
23d7460040
Bugfix: Don’t leak file descriptors (Thanks InfraRed)
2010-05-24 00:10:09 +02:00
Michael Stapelberg
2f7001376a
Bugfix: correctly initialize workspaces if RandR is not available (Thanks stesie)
2010-04-06 20:52:34 +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 7d6e80b5ef
.
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