Commit Graph

581 Commits

Author SHA1 Message Date
Michael Stapelberg adeb8623af Mention libev-dev in the ubuntu howto (Thanks frapzzt) 2009-10-14 13:04:57 +02:00
Michael Stapelberg 8f9e87124a Bugfix: Fix NULL pointer dereference when reconfiguring screens
This did not happen all the time. It seems like you need to have a
container which is in stacking/tabbing mode on the screen which
is being reconfigured. (when doing xrandr --output VGA1 --off for
example)
2009-10-12 18:34:37 +02:00
Michael Stapelberg 3334e27710 Fix HEAD^ 2009-10-11 14:31:10 +02:00
Michael Stapelberg 904e254717 Bugfix: Also apply the fix of 74ccdb4 when re-querying xinerama screens (Thanks Scytale) 2009-10-11 14:29:01 +02:00
Michael Stapelberg 74ccdb4760 Bugfix: Correctly position bar window when using xrandr --below or --above (Thanks Mirko, dirkson) 2009-10-07 20:53:37 +02:00
Michael Stapelberg a22550392d Bugfix: Correctly restore the focus to the root screen after unmapping the last client (Thanks Rasi)
Sometimes, it may happen that the focus is "nowhere" and thus the
user is stuck. This was often the case with opera, sometimes with
pcmanfm. See ticket #118.
2009-10-07 20:27:20 +02:00
Michael Stapelberg c16b6360b6 website: add new screenshot 2009-09-30 00:10:36 +02:00
Michael Stapelberg 43ff034f0a Bugfix: Fix resizing on second monitor (Thanks litemotiv)
We now use the virtual screen’s size/position instead of the X root
window for the grabwin (grabwin = the area in which the pointer may
move when resizing).
2009-09-25 18:09:56 +02:00
Michael Stapelberg a3a1ff9894 Compilation fix for the last commit 2009-09-12 18:50:38 +02:00
Michael Stapelberg 44111b7466 Bugfix: Correctly warp pointer *after* rendering the layout
This is necessary because otherwise the window into which the
pointer is warped still is at its old position, so that the pointer
will effectively be warped onto the wrong screen in case of moving
a window to another screen.
2009-09-12 18:47:50 +02:00
Michael Stapelberg 51cb9a2cf3 Bugfix: Correctly initialize workspaces for floating clients, too 2009-09-12 18:19:03 +02:00
Michael Stapelberg 98dbee72ac Bugfix: Correctly initialize workspace when moving clients (Thanks tsdh) 2009-09-12 18:16:04 +02:00
Michael Stapelberg a4d3dbef19 Bugfix: Correctly handle unmap-notify events when resizing (Thanks Mirko) 2009-09-07 21:20:56 +02:00
Michael Stapelberg 14a07d8b03 Bugfix: Initialize screens correctly when not using Xinerama (Thanks Mikael) 2009-09-05 19:20:01 +02:00
Michael Stapelberg 3b3b7609ae website: add download link for OpenBSD 2009-09-04 12:20:19 +02:00
Michael Stapelberg d089adc229 Bugfix: Don’t display unnamed workspaces with %d: (Thanks Mirko) 2009-08-29 11:09:23 +02:00
Michael Stapelberg 7aec1bd1ef Bugfix: Draw black border instead of background-color around clients with {width,height}_increment (Thanks xeen) 2009-08-29 11:09:18 +02:00
Michael Stapelberg 3fc63c69df Bugfix: Don’t crash if the numlock symbol cannot be found (Thanks xeen) 2009-08-29 11:09:13 +02:00
Michael Stapelberg 1e94dc19ed Bugfix: Don’t call resize_client if the width/height increment properties did not change
This avoids an endless loop, preventing clients to go to fullscreen
2009-08-29 11:09:08 +02:00
Michael Stapelberg 486d8d423c Bugfix: Correctly use base_width/base_height and size increment hints, correctly send fake configure notify events 2009-08-29 11:08:58 +02:00
Michael Stapelberg d7403d2c32 website: Change doctype to HTML5 2009-08-25 13:16:02 +02:00
Michael Stapelberg 36a7f46c51 Bugfix: Map window when it got the fullscreen hint set 2009-08-21 12:19:46 +02:00
Michael Stapelberg ec0113f631 Merge branch 'next'
Conflicts:
	src/manage.c
	src/util.c
	src/xinerama.c
2009-08-19 15:13:27 +02:00
Michael Stapelberg 74a6c7532d Update make dist 2009-08-19 14:37:46 +02:00
Michael Stapelberg 0b7a27ea79 initialize last_keycode 2009-08-19 14:37:34 +02:00
Michael Stapelberg 4be7a34470 Update manpage 2009-08-19 14:32:51 +02:00
Michael Stapelberg 7469e35a8b Document new files in the hacking howto 2009-08-19 14:07:52 +02:00
Michael Stapelberg c10ff34ae7 Add release notes for 3.γ 2009-08-19 14:00:49 +02:00
Michael Stapelberg a84b2269c3 userguide: use space for toggling tiling/floating 2009-08-19 13:31:14 +02:00
Michael Stapelberg e35299d4df userguide: s/j/l in examples 2009-08-19 13:23:26 +02:00
Michael Stapelberg 962bab7c1c Update examples to use bindsym instead of bind 2009-08-19 13:15:14 +02:00
Michael Stapelberg a0e26bd823 Update debian changelog 2009-08-19 13:14:16 +02:00
Michael Stapelberg c38767603b Document commands and new configuration options in userguide 2009-08-19 13:00:09 +02:00
Michael Stapelberg 4b3ea4d524 Bugfix: Don’t crash when clients set an invalid leader hint 2009-08-19 10:56:42 +02:00
Michael Stapelberg 44d9111d65 More log cleanups 2009-08-11 15:23:58 +02:00
Michael Stapelberg 556f180290 Bugfix: Fix screen wrapping, cleanup some log messages
Before this fix, you could go upwards and select the screen which
was at the rightmost because it also was the one topmost (if all
screen’s top position is equal).
2009-08-11 15:02:30 +02:00
Michael Stapelberg dd134a74ef Implement support for width_inc and height_inc of size hints
This fixes the problem where you saw old window contents when resizing
a window (due to opening new windows or similar), especially in terminals.
2009-08-11 14:08:04 +02:00
Michael Stapelberg d8380c6101 Bugfix: Don’t initialize screen twice when not using Xinerama (Thanks badboy) 2009-08-11 12:38:52 +02:00
Michael Stapelberg b9636ceeec Set WM_STATE_WITHDRAWN when unmapping, unmap windows when destroying (Thanks xeen)
Seems like java apps need it. Also, you probably want to use XToolkit,
when you have to work with java apps:

export AWT_TOOLKIT=XToolkit
2009-08-11 12:16:10 +02:00
Michael Stapelberg 51df900312 Bugfix: Fix focused but inactive window color when using multiple monitors 2009-08-08 21:45:29 +02:00
Michael Stapelberg ceb3670d65 Reduce number of configuration requests and thus flickering
This reduces flickering when opening new windows and especially moving
existing windows in tiling mode. Especially noticable on multi-monitor
setups.
2009-08-08 21:31:42 +02:00
Michael Stapelberg f72576a290 Fix rendering of window decorations in stacking mode (there was a 1px-line too much) 2009-08-08 20:20:06 +02:00
Michael Stapelberg 47a798ac4a Implement assignments of workspaces to screens, big cleanup of workspace code
Please test this! Plug in screens, unplug them, use your video projector,
change resolutions, etc.

To use the assignments, use the following syntax:
workspace <number> [screen <screen>] [name]

Where screen can be one of:
<number> (It is not provided that these numbers stay constant, so use with care)
<x>x<y> (Coordinates where the screen starts, so 1280 will be fine to match the
	 screen right of the main screen if your main screen is 1280 pixels
	 width. However, 1281 will not match)
<x>
x<y>

Some examples follow:

 workspace 1 screen 0
 workspace 1 screen 1
 workspace 1 screen 1280x0
 workspace 2 screen 1280
 workspace 3 screen x0
 workspace 3 screen 1 www
 workspace 4 screen 0 mail
2009-08-08 19:51:51 +02:00
Michael Stapelberg cdfbcbb280 Update website to use the new design 2009-08-07 20:48:56 +02:00
Michael Stapelberg 6192975a04 Bugfix: Don’t crash when the font is specified after the workspace names in configfile (Thanks xiaodong) 2009-08-07 15:48:13 +02:00
Michael Stapelberg 7cdaa1b277 Implement support for using key symbols in configuration file
Use "bindsym" instead of "bind". You have to use the names of keys
as in xmodmap. To get a list of currently bounud symbols, use
xmodmap -pke

Technical quirk: Xlib generated MappingNotify events upon
XkbMapNotify events (from XKB, as the name says). XCB does not yet
have support for XKB, thus we need to select and handle the event
by ourself. Hopefully, this will change in the future.
2009-08-07 15:35:12 +02:00
Michael Stapelberg 3bd724f08d Bugfix: Track the user’s pointer over the root window and update current workspace (Thanks xeen)
When not having any windows on the first workspace, switching to the
second workspace using your mouse was not registered by i3.
2009-08-06 00:59:48 +02:00
Michael Stapelberg 20875494ee Bugfix: Correctly unmap stack windows and don’t re-map them too early 2009-08-06 00:38:12 +02:00
Michael Stapelberg 35d811db82 Bugfix: Change to default mode if there was no client selected
Another bug fixed by having testcases :-)
2009-08-06 00:16:58 +02:00
Michael Stapelberg 5d14dca41d Implement correct rendering of floating windows (decoration color) 2009-08-05 19:59:58 +02:00