Commit Graph

705 Commits

Author SHA1 Message Date
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
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
Michael Stapelberg 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
Michael Stapelberg e90e80c87d Bugfix: fix state of keypresses in sighandler (like in i3-input) 2010-03-24 16:10:47 +01:00
Michael Stapelberg 7eea1067f8 Bugfix: correctly translate coordinates for floating windows when outputs change 2010-03-24 16:09:43 +01:00
Michael Stapelberg 0f7ac09c7b Bugfix: Don’t unmap windows when current workspace gets reassigned
Steps to reproduce were:
1) xrandr --output VGA1 --auto --left-of LVDS1
2) open a terminal on VGA1
3) xrandr --output VGA1 --off
2010-03-24 16:06:21 +01:00
Michael Stapelberg 525913a972 Bugfix: only restore focus if the workspace is focused, not if it is visible 2010-03-23 14:46:58 +01:00
Michael Stapelberg 56139f3656 Bugfix: only restore focus if the workspace is focused, not if it is visible 2010-03-23 14:43:35 +01:00
Michael Stapelberg 42b638eac0 Bugfix: Don’t enter BIND_A2WS_COND state too early (Thanks fallen) 2010-03-22 15:12:37 +01:00
Michael Stapelberg bbea32f021 backport client_leave_fullscreen from next branch (Thanks ccount) 2010-03-20 14:47:33 +01:00
Michael Stapelberg 77efb29d9f ipc: send a workspace event when the urgency flag changes 2010-03-20 03:09:42 +01:00
Michael Stapelberg 35a791f7e6 ipc: also send workspace event when initializing a workspace for an output 2010-03-20 02:56:23 +01:00
Michael Stapelberg 46bd9ac58a Bugfix: correctly re-assign dock clients when output goes inactive 2010-03-20 02:52:06 +01:00
Michael Stapelberg aec40126b4 ipc: implement output event 2010-03-19 22:40:43 +01:00
Michael Stapelberg 4ce0d6f014 ipc: implement GET_OUTPUTS 2010-03-19 22:24:52 +01:00
Michael Stapelberg a607eae53a ipc: include the urgent flag in the workspaces reply 2010-03-19 22:01:21 +01:00
Michael Stapelberg fdcbec248a Start dock clients on the output they request to be started on according to their geometry
Use dzen2’s -xs option to use this, or specify the coordinates using
-x manually.
2010-03-19 21:44:36 +01:00
Michael Stapelberg 3c8c426011 Disable RandR if no outputs are found (Thanks fallen) 2010-03-19 18:51:19 +01:00
Michael Stapelberg ee76b2ebf6 Bugfix: When disabling RandR/Xinerama, give a name to the pseudo-output (Thanks fallen) 2010-03-19 18:51:01 +01:00
Michael Stapelberg af00df9321 Use DLOG for debug messages instead of printf (Thanks kruM) 2010-03-19 18:48:36 +01:00
Michael Stapelberg 0bb1b718d1 Fix compilation with the old xcb keysyms api 2010-03-19 16:02:33 +01:00
Michael Stapelberg e014c72a58 little style fix for the last commit 2010-03-19 01:43:29 +01:00
Michael Stapelberg 91b6c69eae little style fix for the last commit 2010-03-19 01:43:11 +01:00
Helgi Kristvin Sigurbjarnarson 0b9abd1eb4 Bugfix: Take window out of fullscreen before entering floating mode. 2010-03-19 01:25:00 +01:00
Helgi Kristvin Sigurbjarnarson 62c4532329 Bugfix: Take window out of fullscreen before entering floating mode. 2010-03-19 01:24:33 +01:00