]> git.sur5r.net Git - i3/i3/log
i3/i3
15 years agoAdd docs/debugging to website
Michael Stapelberg [Tue, 28 Apr 2009 19:11:27 +0000 (21:11 +0200)]
Add docs/debugging to website

15 years agoAdd docs/debugging
Michael Stapelberg [Tue, 28 Apr 2009 19:10:20 +0000 (21:10 +0200)]
Add docs/debugging

15 years agoAdd pkg-config to build dependencies
Michael Stapelberg [Thu, 23 Apr 2009 20:44:57 +0000 (22:44 +0200)]
Add pkg-config to build dependencies

15 years agoAdd missing files to make dist, delete old RFC file
Michael Stapelberg [Sun, 19 Apr 2009 20:31:49 +0000 (22:31 +0200)]
Add missing files to make dist, delete old RFC file

15 years agoAdd a .desktop-file containing xsession information for freedesktop compliant login...
Michael Stapelberg [Sun, 19 Apr 2009 20:29:04 +0000 (22:29 +0200)]
Add a .desktop-file containing xsession information for freedesktop compliant login managers

15 years agoBugfix: That should be xcb_keycode_t, not xcb_keysym_t
Michael Stapelberg [Sun, 19 Apr 2009 19:40:49 +0000 (21:40 +0200)]
Bugfix: That should be xcb_keycode_t, not xcb_keysym_t

15 years agoAdd conditional for the 0.3.3 → 0.3.4 API fix in libxcb-keysyms
Michael Stapelberg [Sun, 19 Apr 2009 19:37:34 +0000 (21:37 +0200)]
Add conditional for the 0.3.3 → 0.3.4 API fix in libxcb-keysyms

15 years agoUpdate debian changelog / controlfile
Michael Stapelberg [Sun, 19 Apr 2009 18:45:37 +0000 (20:45 +0200)]
Update debian changelog / controlfile

15 years agoUpdate TODO file
Michael Stapelberg [Sun, 19 Apr 2009 18:45:28 +0000 (20:45 +0200)]
Update TODO file

15 years agoDon’t rely on libxcb-wm any longer, as it got removed in libxcb 0.3.4
Michael Stapelberg [Sun, 19 Apr 2009 18:44:34 +0000 (20:44 +0200)]
Don’t rely on libxcb-wm any longer, as it got removed in libxcb 0.3.4

See http://cgit.freedesktop.org/xcb/util/commit/?id=4c9a707f472e49bc3005354db265a0214071d46b

15 years agoFreeBSD requires -liconv to link (Thanks Dennis Herrmann)
Michael Stapelberg [Sun, 19 Apr 2009 12:04:33 +0000 (14:04 +0200)]
FreeBSD requires -liconv to link (Thanks Dennis Herrmann)

15 years agoFix for the fix: Don’t substract height twice
Michael Stapelberg [Fri, 17 Apr 2009 23:13:57 +0000 (01:13 +0200)]
Fix for the fix: Don’t substract height twice

15 years agoBugfix: Correctly adjust state when transferring fullscreen windows to other workspac...
Michael Stapelberg [Fri, 17 Apr 2009 19:01:33 +0000 (21:01 +0200)]
Bugfix: Correctly adjust state when transferring fullscreen windows to other workspaces (Thanks Mirko)

This fixes ticket #27.
Furthermore, it is ensured that only one client at a time is in fullscreen mode.

15 years agoBugfix: Calculation of width in fake_absoute_configure_notify was wrong for windows...
Michael Stapelberg [Fri, 17 Apr 2009 17:08:38 +0000 (19:08 +0200)]
Bugfix: Calculation of width in fake_absoute_configure_notify was wrong for windows with aspect ratio (Thanks Mirko)

15 years agoBugfix: Fullscreen configure notifies mustn’t use absolute position/size
Michael Stapelberg [Thu, 16 Apr 2009 09:08:11 +0000 (11:08 +0200)]
Bugfix: Fullscreen configure notifies mustn’t use absolute position/size

15 years agoPrepare debian/changelog for the bugfix release
Michael Stapelberg [Tue, 14 Apr 2009 14:31:36 +0000 (16:31 +0200)]
Prepare debian/changelog for the bugfix release

15 years agoBugfix: Fix unmapping of dock windows (Thanks Mirko)
Michael Stapelberg [Mon, 13 Apr 2009 21:27:47 +0000 (23:27 +0200)]
Bugfix: Fix unmapping of dock windows (Thanks Mirko)

15 years agoBugfix: Send clients their absolute position/size in generated configure events,...
Michael Stapelberg [Sat, 11 Apr 2009 20:37:48 +0000 (22:37 +0200)]
Bugfix: Send clients their absolute position/size in generated configure events, not relative

This fixes ticket #26.

15 years agoBugfix: Fix warping of cursor when only switching screen, not workspace
Michael Stapelberg [Sat, 11 Apr 2009 18:55:16 +0000 (20:55 +0200)]
Bugfix: Fix warping of cursor when only switching screen, not workspace

15 years agoBugfix: Don’t only check for the currently active screen, but check for all screens...
Michael Stapelberg [Sat, 11 Apr 2009 17:06:26 +0000 (19:06 +0200)]
Bugfix: Don’t only check for the currently active screen, but check for all screens (Thanks Mirko)

15 years agoBugfix: Perform some bounds checking for snapped containers in fix_colrowspan (Thanks...
Michael Stapelberg [Sat, 11 Apr 2009 12:52:11 +0000 (14:52 +0200)]
Bugfix: Perform some bounds checking for snapped containers in fix_colrowspan (Thanks jchome)

This fixes ticket #22

15 years agoBugfix: Store dock clients per screen, not per workspace.
Michael Stapelberg [Sat, 11 Apr 2009 12:29:15 +0000 (14:29 +0200)]
Bugfix: Store dock clients per screen, not per workspace.

This fixes ticket #12

15 years agoGeneral small cleanups
Michael Stapelberg [Sat, 11 Apr 2009 12:08:19 +0000 (14:08 +0200)]
General small cleanups

15 years agoBugfix: Don’t change to workspaces on different screens when scrolling through them...
Michael Stapelberg [Sat, 11 Apr 2009 09:54:30 +0000 (11:54 +0200)]
Bugfix: Don’t change to workspaces on different screens when scrolling through them (Thanks Mirko)

This fixes ticket #19

15 years agoBugfix: Warp pointer to the right window
Michael Stapelberg [Sat, 11 Apr 2009 09:36:58 +0000 (11:36 +0200)]
Bugfix: Warp pointer to the right window

This fixes ticket #20

15 years agoMake the makefile print out "INSTALL" when installing
Michael Stapelberg [Sat, 11 Apr 2009 09:34:20 +0000 (11:34 +0200)]
Make the makefile print out "INSTALL" when installing

15 years agoBugfix: Don’t crash anymore when moving focus to another screen (Thanks, Mirko!)
Michael Stapelberg [Fri, 10 Apr 2009 19:29:25 +0000 (21:29 +0200)]
Bugfix: Don’t crash anymore when moving focus to another screen (Thanks, Mirko!)

This fixes ticket #24. The crash appeared only under special conditions:
- The screen on which you switch to must be empty or at least not as
  full as the screen on which you were before.
- You switch focus using your mouse.
- You previously selected a column/row which is not availably on the
  destination screen (for example (1,1) and switching to an empty
  screen).

15 years agoOops. Don’t kill the current workspace
Michael Stapelberg [Thu, 9 Apr 2009 10:13:14 +0000 (12:13 +0200)]
Oops. Don’t kill the current workspace

15 years agoBugfix: Delete empty workspaces even when they’re not the active workspace
Michael Stapelberg [Thu, 9 Apr 2009 09:19:56 +0000 (11:19 +0200)]
Bugfix: Delete empty workspaces even when they’re not the active workspace

This fixes ticket #23

15 years agoBugfix: Correctly set focus when switching between screens
Michael Stapelberg [Wed, 8 Apr 2009 11:48:37 +0000 (13:48 +0200)]
Bugfix: Correctly set focus when switching between screens

15 years agoDebian: Create package i3-wm-dbg with debug symbols (thanks sur5r)
Michael Stapelberg [Wed, 8 Apr 2009 10:21:20 +0000 (12:21 +0200)]
Debian: Create package i3-wm-dbg with debug symbols (thanks sur5r)

15 years agoPut documentation for each function in the header files, doxygen-compatible
Michael Stapelberg [Tue, 7 Apr 2009 17:02:07 +0000 (19:02 +0200)]
Put documentation for each function in the header files, doxygen-compatible

Thanks to psychoschlumpf for the hint. Having comments in the headers
makes it easier to get the big picture when not being interested in the
source.

The doxygen file extracts as much as it can into HTML files. Please note
that this is not official/supported documentation, but rather being nice
to people who have to/want to use doxygen (I don’t).

Let me paste the header of the doxygen file:

  You can use this file with doxygen to create a pseudo-documentation
  automatically from source. doxygen-comments are not used very extensively
  in i3, mostly for the reason that it clutters the source code and has no
  real use (doxygen’s output looks really ugly).

  So, if you want to use it, here you go. This is however not a supported
  document, and I recommend you have a look at the docs/ folder or at
  http://i3.zekjur.net/ for more, real documentation.

15 years agoBugfix: Set focus to the client which was previously focused instead of the next...
Michael Stapelberg [Tue, 7 Apr 2009 14:48:42 +0000 (16:48 +0200)]
Bugfix: Set focus to the client which was previously focused instead of the next client when moving windows

This fixes ticket #21

15 years agoBugfix: Don’t set focus if it is not necessary.
Michael Stapelberg [Wed, 1 Apr 2009 10:50:42 +0000 (12:50 +0200)]
Bugfix: Don’t set focus if it is not necessary.

This fixes ticket #13

15 years agoImplement scrolling on stack windows and on the bar. This implements ticket #18
Michael Stapelberg [Wed, 1 Apr 2009 10:31:13 +0000 (12:31 +0200)]
Implement scrolling on stack windows and on the bar. This implements ticket #18

15 years agoBugfix: Correctly remove client from container when moving to another workspace
Michael Stapelberg [Wed, 1 Apr 2009 10:02:22 +0000 (12:02 +0200)]
Bugfix: Correctly remove client from container when moving to another workspace

This fixes ticket #16

15 years agoRemove comment as popup menus in dzen2 get triggered by enter notify and focus is...
Michael Stapelberg [Wed, 1 Apr 2009 09:51:11 +0000 (11:51 +0200)]
Remove comment as popup menus in dzen2 get triggered by enter notify and focus is not needed

15 years agoBugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs)
Michael Stapelberg [Tue, 31 Mar 2009 17:17:31 +0000 (19:17 +0200)]
Bugfix: Apply workspaces to screens when Xinerama is turned off (Thanks Igor, Urs)

15 years agoBugfix: Don’t free xinerama-reply if it is NULL, implement FREE()-macro (Thanks Igor)
Michael Stapelberg [Mon, 30 Mar 2009 06:27:53 +0000 (08:27 +0200)]
Bugfix: Don’t free xinerama-reply if it is NULL, implement FREE()-macro (Thanks Igor)

15 years agoDebian package fixes (use ${misc:Depends}, close ITP, call dh_strip, correct spelling...
Michael Stapelberg [Sun, 29 Mar 2009 16:44:01 +0000 (18:44 +0200)]
Debian package fixes (use ${misc:Depends}, close ITP, call dh_strip, correct spelling of metapackage)

15 years agoBugfix: Correctly filter out the numlock state bit (doesn’t get cleared for some...
Michael Stapelberg [Fri, 27 Mar 2009 14:24:52 +0000 (15:24 +0100)]
Bugfix: Correctly filter out the numlock state bit (doesn’t get cleared for some reason)

This fixes ticket #14

15 years agoBugfix: When entering a stack window with the mouse, set the focus to the active...
Michael Stapelberg [Thu, 26 Mar 2009 22:00:26 +0000 (23:00 +0100)]
Bugfix: When entering a stack window with the mouse, set the focus to the active client

Fixes ticket #17

15 years agoWebsite: Sitemap should contain URLs without redirects
Michael Stapelberg [Sun, 22 Mar 2009 22:47:20 +0000 (23:47 +0100)]
Website: Sitemap should contain URLs without redirects

15 years agoFix robots.txt
Michael Stapelberg [Sat, 21 Mar 2009 00:18:38 +0000 (01:18 +0100)]
Fix robots.txt

15 years agoBugfix: Fix memory leak
Michael Stapelberg [Fri, 20 Mar 2009 16:31:34 +0000 (17:31 +0100)]
Bugfix: Fix memory leak

15 years agoAdd sitemap.xml
Michael Stapelberg [Wed, 18 Mar 2009 09:03:06 +0000 (10:03 +0100)]
Add sitemap.xml

15 years agoAdd meta tags to header
Michael Stapelberg [Wed, 18 Mar 2009 08:59:00 +0000 (09:59 +0100)]
Add meta tags to header

15 years agowebsite: Add robots.txt, Link bugtracker
Michael Stapelberg [Wed, 18 Mar 2009 08:47:12 +0000 (09:47 +0100)]
website: Add robots.txt, Link bugtracker

15 years agoAdd description to screenshot
Michael Stapelberg [Mon, 16 Mar 2009 08:59:00 +0000 (09:59 +0100)]
Add description to screenshot

15 years agoAdd screenshots to website
Michael Stapelberg [Mon, 16 Mar 2009 08:57:37 +0000 (09:57 +0100)]
Add screenshots to website

15 years agoUpdate manpage
Michael Stapelberg [Mon, 16 Mar 2009 07:18:52 +0000 (08:18 +0100)]
Update manpage

15 years agowebsite: Link GPG-signature
Michael Stapelberg [Sun, 15 Mar 2009 22:42:08 +0000 (23:42 +0100)]
website: Link GPG-signature

15 years agoFix makefile to replace git-versions so tarball works without git
Michael Stapelberg [Sun, 15 Mar 2009 22:40:08 +0000 (23:40 +0100)]
Fix makefile to replace git-versions so tarball works without git

15 years agoUpdate debian changelog
Michael Stapelberg [Sun, 15 Mar 2009 22:28:56 +0000 (23:28 +0100)]
Update debian changelog

15 years agoUpdate download page for release of 3.α
Michael Stapelberg [Sun, 15 Mar 2009 22:27:03 +0000 (23:27 +0100)]
Update download page for release of 3.α

15 years agoCleanup makefiles, add version to i3 -v and i3 startup 3.a
Michael Stapelberg [Sun, 15 Mar 2009 22:15:16 +0000 (23:15 +0100)]
Cleanup makefiles, add version to i3 -v and i3 startup

15 years agoDisable horizontal resizing for the release version, it still has bugs
Michael Stapelberg [Sun, 15 Mar 2009 20:31:35 +0000 (21:31 +0100)]
Disable horizontal resizing for the release version, it still has bugs

15 years agoBugfix: re-decorate old client when switching screens
Michael Stapelberg [Sun, 15 Mar 2009 20:13:15 +0000 (21:13 +0100)]
Bugfix: re-decorate old client when switching screens

15 years agoBugfix: Only actively change focus if this is the current container
Michael Stapelberg [Sun, 15 Mar 2009 19:52:43 +0000 (20:52 +0100)]
Bugfix: Only actively change focus if this is the current container

15 years agoImplement clicking on the bar to switch workspaces
Michael Stapelberg [Sun, 15 Mar 2009 16:49:25 +0000 (17:49 +0100)]
Implement clicking on the bar to switch workspaces

15 years agoBugfix: Fix rounding problems when positioning proportional windows
Michael Stapelberg [Sun, 15 Mar 2009 16:35:16 +0000 (17:35 +0100)]
Bugfix: Fix rounding problems when positioning proportional windows

15 years agoBugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints...
Michael Stapelberg [Sun, 15 Mar 2009 11:24:49 +0000 (12:24 +0100)]
Bugfix: Query WM_NORMAL_HINTS when managing a window to handle proportional hints which were set before mapping

15 years agoImplement kill-command to kill the current window, document it
Michael Stapelberg [Sat, 14 Mar 2009 21:09:36 +0000 (22:09 +0100)]
Implement kill-command to kill the current window, document it

15 years agoImplement exit command, document it in manpage, add it to defaultconfig (Mod1+Shift+e)
Michael Stapelberg [Sat, 14 Mar 2009 20:31:22 +0000 (21:31 +0100)]
Implement exit command, document it in manpage, add it to defaultconfig (Mod1+Shift+e)

15 years agoAdd docbook-xml as build dependency, revert last commit
Michael Stapelberg [Sat, 14 Mar 2009 17:55:47 +0000 (18:55 +0100)]
Add docbook-xml as build dependency, revert last commit

15 years agoAdd -L to not invoke xmllint which fails on some systems because it can’t download...
Michael Stapelberg [Sat, 14 Mar 2009 17:45:55 +0000 (18:45 +0100)]
Add -L to not invoke xmllint which fails on some systems because it can’t download the DTD

15 years agoSend configure notify after putting a client into fullscreen mode, log at a central...
Michael Stapelberg [Sat, 14 Mar 2009 16:37:11 +0000 (17:37 +0100)]
Send configure notify after putting a client into fullscreen mode, log at a central place

15 years agoUpdate „Building i3 on Ubuntu 9.04” howto
Michael Stapelberg [Sat, 14 Mar 2009 16:12:11 +0000 (17:12 +0100)]
Update „Building i3 on Ubuntu 9.04” howto

15 years agoAdd imprint to the website for compliance with german law.
Michael Stapelberg [Sat, 14 Mar 2009 00:51:01 +0000 (01:51 +0100)]
Add imprint to the website for compliance with german law.

15 years agoAdd file PACKAGE-MAINTAINERS with hints for package maintainers
Michael Stapelberg [Sat, 14 Mar 2009 00:30:37 +0000 (01:30 +0100)]
Add file PACKAGE-MAINTAINERS with hints for package maintainers

15 years agoUpdate the overview of default bindings
Michael Stapelberg [Sat, 14 Mar 2009 00:26:09 +0000 (01:26 +0100)]
Update the overview of default bindings

15 years agoFix errors in i3.config, update manpage
Michael Stapelberg [Sat, 14 Mar 2009 00:21:51 +0000 (01:21 +0100)]
Fix errors in i3.config, update manpage

15 years agoUpdate website (menu, links to the documentation, manpage online)
Michael Stapelberg [Sat, 14 Mar 2009 00:15:54 +0000 (01:15 +0100)]
Update website (menu, links to the documentation, manpage online)

15 years agoRemove unused variable (fixes warning)
Michael Stapelberg [Fri, 13 Mar 2009 10:20:21 +0000 (11:20 +0100)]
Remove unused variable (fixes warning)

15 years agoUpdate build-dependencies for debian
Michael Stapelberg [Fri, 13 Mar 2009 04:08:42 +0000 (05:08 +0100)]
Update build-dependencies for debian

15 years agoFix fullscreen for xpdf (at least on debian, with proper _NET_WM_STATE hints)
Michael Stapelberg [Fri, 13 Mar 2009 03:51:17 +0000 (04:51 +0100)]
Fix fullscreen for xpdf (at least on debian, with proper _NET_WM_STATE hints)

xpdf sets the _NET_WM_STATE before actually mapping the window. i3 only checked
for changes of this hint, but not if it is already set when intially managing
the window.

Note that you need to patch your xpdf to support _NET_WM_STATE, because, while
only being reported at 2004, upstream still did not merge the patch *grrr*
See this debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247602
Or directly download the patch from:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=61;filename=31_fullscreen.dpatch;att=1;bug=247602

15 years agoFix compilation
Michael Stapelberg [Fri, 13 Mar 2009 03:51:09 +0000 (04:51 +0100)]
Fix compilation

15 years agoFake more configure notifies (makes xpdf work better)
Michael Stapelberg [Thu, 12 Mar 2009 23:39:16 +0000 (00:39 +0100)]
Fake more configure notifies (makes xpdf work better)

15 years agoMore example code
Michael Stapelberg [Thu, 12 Mar 2009 16:56:03 +0000 (17:56 +0100)]
More example code

15 years agoAdd some code to the presentation
Michael Stapelberg [Thu, 12 Mar 2009 16:19:19 +0000 (17:19 +0100)]
Add some code to the presentation

15 years agoBugfix: Completely ignore legacy hints as soon as the client uses _NET_WM_NAME
Michael Stapelberg [Thu, 12 Mar 2009 15:44:44 +0000 (16:44 +0100)]
Bugfix: Completely ignore legacy hints as soon as the client uses _NET_WM_NAME

15 years agoAdd slides for presentation at NoName e.V.
Michael Stapelberg [Thu, 12 Mar 2009 03:37:05 +0000 (04:37 +0100)]
Add slides for presentation at NoName e.V.

15 years agoAdd website for i3lock
Michael Stapelberg [Wed, 11 Mar 2009 23:25:28 +0000 (00:25 +0100)]
Add website for i3lock

15 years agoUpdate debian/ to build a meta-package for i3
Michael Stapelberg [Wed, 11 Mar 2009 21:49:41 +0000 (22:49 +0100)]
Update debian/ to build a meta-package for i3

15 years agoMove i3lock in its own repository
Michael Stapelberg [Wed, 11 Mar 2009 21:21:50 +0000 (22:21 +0100)]
Move i3lock in its own repository

15 years agoHandle legacy window titles by rendering them not unicode-compatible.
Michael Stapelberg [Wed, 11 Mar 2009 20:31:54 +0000 (21:31 +0100)]
Handle legacy window titles by rendering them not unicode-compatible.

15 years agoImplement cleaning up the list of ignored events
Michael Stapelberg [Wed, 11 Mar 2009 19:06:30 +0000 (20:06 +0100)]
Implement cleaning up the list of ignored events

15 years agoFix misnomer (window_type_handler → handle_window_type), resolve TODO
Michael Stapelberg [Wed, 11 Mar 2009 18:39:32 +0000 (19:39 +0100)]
Fix misnomer (window_type_handler → handle_window_type), resolve TODO

15 years agoUpdate config to use i3menu on Mod1+p, update Makefile to compile/install i3lock...
Michael Stapelberg [Wed, 11 Mar 2009 18:09:17 +0000 (19:09 +0100)]
Update config to use i3menu on Mod1+p, update Makefile to compile/install i3lock and i3menu

15 years agoMove i3lock to src/i3lock, import dmenu-3.9 as i3menu
Michael Stapelberg [Wed, 11 Mar 2009 18:03:24 +0000 (19:03 +0100)]
Move i3lock to src/i3lock, import dmenu-3.9 as i3menu

15 years agoImplement moving containers, implement moving windows to the top if top-most, change...
Michael Stapelberg [Wed, 11 Mar 2009 17:56:31 +0000 (18:56 +0100)]
Implement moving containers, implement moving windows to the top if top-most, change config to use Mod3

15 years agoImplement moving clients to the left if they are leftmost
Michael Stapelberg [Wed, 11 Mar 2009 00:55:10 +0000 (01:55 +0100)]
Implement moving clients to the left if they are leftmost

15 years agoBugfix: Redecorate the last focused window of the container we are switching into
Michael Stapelberg [Tue, 10 Mar 2009 23:56:39 +0000 (00:56 +0100)]
Bugfix: Redecorate the last focused window of the container we are switching into

15 years agoBugfix: Don’t handle mouse click events inside the titlebar
Michael Stapelberg [Tue, 10 Mar 2009 23:45:49 +0000 (00:45 +0100)]
Bugfix: Don’t handle mouse click events inside the titlebar

15 years agoBugfix: Change the event mask to ignore enter notifies when rendering the layout...
Michael Stapelberg [Tue, 10 Mar 2009 23:20:56 +0000 (00:20 +0100)]
Bugfix: Change the event mask to ignore enter notifies when rendering the layout and changing workspaces

15 years agoBugfix: Eliminate race condition, fix dock windows
Michael Stapelberg [Tue, 10 Mar 2009 19:56:25 +0000 (20:56 +0100)]
Bugfix: Eliminate race condition, fix dock windows

There was a race condition when mapping a window and not setting the event mask
before. Therefore, the ReparentNotify and (more important) the UnmapNotify generated
by reparenting were not received, thus leaving the awaiting_useless_unmap variable
of the client "true". To just make it work, in previous commits the DestroyNotify
handler was introduced. Fortunately, with fixing this race condition by first
setting the event mask and mapping the window afterwards, we can remove this handler.

As for the dock windows, there were quite some occurences were client->container
was used without checking if the client is inside a container at all.

Furthermore, the client’s strut containing the space to reserve at the screen edge
is now checked and the desired height is set to the window’s height if the strut
contains 0 or if no strut was specified at all.

15 years agoIgnore notify events which are not in mode XCB_NOTIFY_MODE_NORMAL
Michael Stapelberg [Tue, 10 Mar 2009 10:26:52 +0000 (11:26 +0100)]
Ignore notify events which are not in mode XCB_NOTIFY_MODE_NORMAL

15 years agoFix warning (typecast)
Michael Stapelberg [Tue, 10 Mar 2009 08:51:00 +0000 (09:51 +0100)]
Fix warning (typecast)

15 years agoRemove that stupid XBell() which gets triggered falsely when resuming suspend to RAM
Michael Stapelberg [Tue, 10 Mar 2009 08:46:17 +0000 (09:46 +0100)]
Remove that stupid XBell() which gets triggered falsely when resuming suspend to RAM

15 years agoMajor change: Redirect events instead of handle the notifies.
Michael Stapelberg [Mon, 9 Mar 2009 23:51:15 +0000 (00:51 +0100)]
Major change: Redirect events instead of handle the notifies.

By specifying XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, the window manager
will get map request events instead of map notify events, and therefore
can act sooner (the window won’t be positioned on the screen and moved
afterwards).

Furthermore, this fixes some problems with GIMP/VLC (and probably others)
which caused endless loops.

Also, events which should be ignored are now saved in a queue rather than
saving just the last event. This should eliminate race conditions.

Note that there is a new FIXME in src/handlers.c. Some windows generate
unmap notify events when reparenting while others don’t. We need to
understand, document and implement a more correct way to handle this.